diff options
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -4,10 +4,14 @@ # Environment: Debian # -DISTROS=base debian10 debian11 ubuntu2004 ubuntu2204 +DISTROS=base debian11 ubuntu2204 VERSION=$(shell dpkg-parsechangelog --show-field Version) +CXX=clang++-13 + +ifeq ($(shell which $(CXX)),) CXX=clang++-10 +endif ifeq ($(shell which $(CXX)),) CXX=clang++ @@ -32,7 +36,7 @@ ifeq ($(CXXFLAGS),) CXXFLAGS=-g -O2 endif -CXXFLAGS+=-Wall -fPIE -std=c++17 -Wpedantic -gdwarf-4 +CXXFLAGS+=-Wall -fPIE -std=c++20 -Wpedantic -gdwarf-4 LDFLAGS+=-pie ifeq ($(CXX),clang++-10) |