summaryrefslogtreecommitdiffhomepage
path: root/common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk14
1 files changed, 4 insertions, 10 deletions
diff --git a/common.mk b/common.mk
index 9da602e..ccacd6c 100644
--- a/common.mk
+++ b/common.mk
@@ -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)