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)
ifdef PROFILE
CFLAGS += -pg
LFLAGS += -pg
CFLAGS += -pg -O3 -DNDEBUG
LFLAGS += -pg -O3 -DNDEBUG
else
ifdef DEBUGMODE
CFLAGS += -g3 -DDEBUGMODE