summaryrefslogtreecommitdiffhomepage
path: root/common.mk
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-03 17:22:08 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-03 17:22:08 +0100
commita82d947a594b01af54e056473799ebab619e2bd2 (patch)
treed68a3896a32cd882a3866c4c88dcd6dba85d9c83 /common.mk
parentd00dc2c69164d8a8850d317f2868c6f131b7f679 (diff)
Switch to shared library
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/common.mk b/common.mk
index 0b5c4d8..49a6266 100644
--- a/common.mk
+++ b/common.mk
@@ -48,13 +48,14 @@ endif
# gcc:--coverage
CXXFLAGS+=-Wall -I.
+CXXFLAGS+=-Wpedantic -gdwarf-4
ifeq ($(CXX),clang++-11)
CXXFLAGS+=-std=c++20 #-stdlib=libc++
else ifeq ($(CXX),clang++-14)
-CXXFLAGS+=-std=c++2b #-stdlib=libc++
+CXXFLAGS+=-std=c++20 #-stdlib=libc++
else ifeq ($(CXX),clang++-13)
-CXXFLAGS+=-std=c++2b #-stdlib=libc++
+CXXFLAGS+=-std=c++20 #-stdlib=libc++
else ifeq ($(CXX),g++-11)
CXXFLAGS+=-std=c++20 #-stdlib=libc++
else