diff options
author | Roland Reichwein <mail@reichwein.it> | 2022-11-22 17:07:44 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2022-11-22 17:07:44 +0100 |
commit | 2a4d96188afa83110b30931559732d4fd9bacab2 (patch) | |
tree | 9513d272f2baba29d3b22b04c78ffa4bf61f58bd /Makefile | |
parent | 15b3424c72fb3af3eb47e00eeee27730e8fa0b75 (diff) |
First working whiteboard
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -36,9 +36,15 @@ ifeq ($(CXXFLAGS),) CXXFLAGS=-g -O2 endif -CXXFLAGS+=-Wall -fPIE -std=c++20 -Wpedantic -gdwarf-4 +CXXFLAGS+=-Wall -fPIE -Wpedantic -gdwarf-4 LDFLAGS+=-pie +ifeq ($(CXX),g++-9) +CXXFLAGS+=-std=c++17 +else +CXXFLAGS+=-std=c++20 +endif + ifeq ($(CXX),clang++-10) LIBS+= \ -fuse-ld=lld-10 \ |