From: Benny Baumann Date: Sun, 26 Feb 2017 00:13:20 +0000 (+0100) Subject: cfg: Partially optimize debug builds X-Git-Url: http://www.controwiki.de/?a=commitdiff_plain;h=395de4b29db279820c3406c305cd615b705bdd91;p=cassiopeia.git cfg: Partially optimize debug builds Change-Id: I0eeed3d577419beae3de8335660d241cfeeca236 --- diff --git a/Makefile b/Makefile index 74caedf..6a47d63 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ CXX_DEP=g++ LD=libtool --mode=link g++ ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS))) -CFLAGS+=-DNO_DAEMON -g +CFLAGS+=-DNO_DAEMON -g -Og endif ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 diff --git a/test/Makefile b/test/Makefile index 3e55b13..756e9a2 100644 --- a/test/Makefile +++ b/test/Makefile @@ -16,7 +16,7 @@ CXX_DEP=g++ LD=libtool --mode=link g++ ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS))) -CFLAGS+=-DNO_DAEMON -g +CFLAGS+=-DNO_DAEMON -g -Og endif CFLAGS+=${ADDFLAGS} -Wall -Werror -Wextra -pedantic -std=c++11 -I../src -I../lib/openssl/include