From 2a4d96188afa83110b30931559732d4fd9bacab2 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Tue, 22 Nov 2022 17:07:44 +0100 Subject: First working whiteboard --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2d14170..640a081 100755 --- a/Makefile +++ b/Makefile @@ -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 \ -- cgit v1.2.3