summaryrefslogtreecommitdiffhomepage
path: root/common.mk
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-01 14:53:05 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-01 14:53:05 +0100
commitcbf1ba38794ab6a323441dcc3b0e5e942f7ab386 (patch)
treec20619b90a1f9ca512aa5e1db9354178e2c2726d /common.mk
parent1f679124bba936e7905c7f4c83186d0c961dca61 (diff)
Added CompiledSQL class, Test coverage
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)