From 3fdbccb0284c54d5eb9401ea1ada32fb2bd4a0dd Mon Sep 17 00:00:00 2001 From: Jan Vidar Krey Date: Thu, 9 Jul 2009 17:01:45 +0200 Subject: [PATCH] Fix bug #47 - Enable -ggdb instead of -g for DEBUG builds. RELEASE builds are built with -O3 instead of -Os. --- GNUmakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 33959f5..3974cc7 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -65,10 +65,10 @@ CFLAGS += -I/source/libevent LDFLAGS += -L/source/libevent ifeq ($(RELEASE),YES) -CFLAGS += -Os -DNDEBUG +CFLAGS += -O3 -DNDEBUG GIT_REVISION ?= NO else -CFLAGS += -g -DDEBUG +CFLAGS += -ggdb -DDEBUG GIT_REVISION ?= YES endif