diff options
| author | Roland Reichwein <mail@reichwein.it> | 2022-12-15 11:01:37 +0100 | 
|---|---|---|
| committer | Roland Reichwein <mail@reichwein.it> | 2022-12-15 11:01:37 +0100 | 
| commit | 55d1d3612141ef1fe858b2bccb950da51cfe7a17 (patch) | |
| tree | 50cc3a90dd5d3eea8e4f1020da165e2bc31e0556 /Makefile | |
| parent | 53e50b9fd7f051d039e40f77fa00498dd9a8e2b0 (diff) | |
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 | 
