diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -14,6 +14,7 @@ ifeq ($(DEBIANVERSION),10) CXX=g++-8 else +ifeq ($(wildcard $(shell which clang++-14)),) ifeq ($(wildcard $(shell which clang++-13)),) ifeq ($(wildcard $(shell which clang++-12)),) ifeq ($(wildcard $(shell which clang++-11)),) @@ -31,6 +32,9 @@ endif else CXX=clang++-13 endif +else +CXX=clang++-14 +endif endif @@ -41,6 +45,14 @@ ifeq ($(CXXFLAGS),) CXXFLAGS=-O2 -DNDEBUG endif +ifeq ($(CXX),clang++-14) +ifeq ($(ONDEBIAN),yes) +COMPILER_SUITE=clang +LIBS+=-fuse-ld=lld-14 +STANDARD=c++20 +endif +endif + ifeq ($(CXX),clang++-13) ifeq ($(ONDEBIAN),yes) COMPILER_SUITE=clang |