diff options
author | Roland Reichwein <mail@reichwein.it> | 2022-12-31 13:45:31 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2022-12-31 13:45:31 +0100 |
commit | 06a5b6fe71abac44286adf9c9f439ad5a2e3a519 (patch) | |
tree | fba06f886db2b116030e2316646ebc83245a94d3 /common.mk | |
parent | 921c799f3aa0163cd2eeda5a1c3c8d10d5989e9c (diff) |
Added tests
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,4 +1,8 @@ +CXX=clang++-14 + +ifeq ($(shell which $(CXX)),) CXX=clang++-13 +endif ifeq ($(shell which $(CXX)),) CXX=clang++-11 @@ -51,6 +55,8 @@ CXXFLAGS+=-DYEAR=\"$(YEAR)\" CXXFLAGS+=-pthread ifeq ($(CXX),clang++-11) CXXFLAGS+=-std=c++20 #-stdlib=libc++ +else ifeq ($(CXX),clang++-14) +CXXFLAGS+=-std=c++2b #-stdlib=libc++ else ifeq ($(CXX),clang++-13) CXXFLAGS+=-std=c++2b #-stdlib=libc++ else ifeq ($(CXX),g++-11) @@ -67,6 +73,10 @@ LIBS+= \ #-lc++abi #-lc++fs #-lstdc++fs +else ifeq ($(CXX),clang++-14) +LIBS+= \ +-fuse-ld=lld-14 \ +-lstdc++ else ifeq ($(CXX),clang++-13) LIBS+= \ -fuse-ld=lld-13 \ |