From 3d679357bc5aa63b364d89a4415e43762bdd4b52 Mon Sep 17 00:00:00 2001 From: David Capello Date: Mon, 19 Apr 2010 22:39:53 -0300 Subject: [PATCH] Added -O3 and -DNDEBUG flags in PROFILE mode with gcc compiler. --- makefile.gcc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile.gcc b/makefile.gcc index 0c61f361c..2dc3b36ad 100644 --- a/makefile.gcc +++ b/makefile.gcc @@ -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