From 909560de38acb62b2d6fa66eb678453f87eb99ae Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Mon, 8 Feb 2021 18:21:16 +0100 Subject: Fix CXXFLAGS for debian and debug build --- common.mk | 8 ++++---- 1 file 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 -- cgit v1.2.3