summaryrefslogtreecommitdiffhomepage
path: root/common.mk
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2021-02-08 18:21:16 +0100
committerRoland Reichwein <mail@reichwein.it>2021-02-08 18:21:16 +0100
commit909560de38acb62b2d6fa66eb678453f87eb99ae (patch)
tree990b7c207078071d2e76db46a0aad7e121852adf /common.mk
parent4abb36c8f94665a3133d58f455bcdf13dbe5c0a7 (diff)
Fix CXXFLAGS for debian and debug build
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/common.mk b/common.mk
index 5a71acc..a7ee20c 100644
--- a/common.mk
+++ b/common.mk
@@ -21,10 +21,10 @@ ifeq ($(shell which $(CXX)),)
CXX=g++
endif
-#ifeq ($(CXXFLAGS),)
-CXXFLAGS=-O2 -g -DNDEBUG
-#CXXFLAGS=-O0 -g -D_DEBUG
-#endif
+ifeq ($(CXXFLAGS),)
+#CXXFLAGS=-O2 -g -DNDEBUG
+CXXFLAGS=-O0 -g -D_DEBUG
+endif
# -fprofile-instr-generate -fcoverage-mapping
# gcc:--coverage