Fix bug #47 - Enable -ggdb instead of -g for DEBUG builds.
RELEASE builds are built with -O3 instead of -Os.
This commit is contained in:
parent
3db2ec5e22
commit
3fdbccb028
|
@ -65,10 +65,10 @@ CFLAGS += -I/source/libevent
|
||||||
LDFLAGS += -L/source/libevent
|
LDFLAGS += -L/source/libevent
|
||||||
|
|
||||||
ifeq ($(RELEASE),YES)
|
ifeq ($(RELEASE),YES)
|
||||||
CFLAGS += -Os -DNDEBUG
|
CFLAGS += -O3 -DNDEBUG
|
||||||
GIT_REVISION ?= NO
|
GIT_REVISION ?= NO
|
||||||
else
|
else
|
||||||
CFLAGS += -g -DDEBUG
|
CFLAGS += -ggdb -DDEBUG
|
||||||
GIT_REVISION ?= YES
|
GIT_REVISION ?= YES
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue