diff options
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 14 |
1 files changed, 4 insertions, 10 deletions
@@ -34,17 +34,11 @@ CXXFLAGS+=-std=c++20 endif ifeq ($(CXX),clang++-10) -LIBS+= \ --fuse-ld=lld-10 \ --lstdc++ -#-lc++ \ -#-lc++abi -#-lc++fs -#-lstdc++fs +LIBS+=-fuse-ld=lld-10 -lstdc++ +else ifeq ($(CXX),clang++-14) +LIBS+=-fuse-ld=lld-14 -lc++ -lc++abi else -LIBS+= \ --lstdc++ \ --lstdc++fs +LIBS+=-lstdc++ -lstdc++fs endif CXXFLAGS+=$(shell pkg-config --cflags qrcodegencpp Magick++ fmt sqlite3) |