diff options
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 \ |