Added -O3 and -DNDEBUG flags in PROFILE mode with gcc compiler.

This commit is contained in:
David Capello 2010-04-19 22:39:53 -03:00
parent abc54a0e2e
commit 3d679357bc

View File

@ -21,8 +21,8 @@ CFLAGS += -Wall -I. -Isrc -Ithird_party \
LFLAGS += $(THIRD_PARTY_LIBS) LFLAGS += $(THIRD_PARTY_LIBS)
ifdef PROFILE ifdef PROFILE
CFLAGS += -pg CFLAGS += -pg -O3 -DNDEBUG
LFLAGS += -pg LFLAGS += -pg -O3 -DNDEBUG
else else
ifdef DEBUGMODE ifdef DEBUGMODE
CFLAGS += -g3 -DDEBUGMODE CFLAGS += -g3 -DDEBUGMODE