changeset 334:c0aba47f8020

Move -O3 to EXTRA_CFLAGS.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 15 Oct 2012 13:28:32 +0300
parents 230cc7c6564d
children 2d19b5b8350c
files Makefile.gen
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.gen	Mon Oct 15 13:28:00 2012 +0300
+++ b/Makefile.gen	Mon Oct 15 13:28:32 2012 +0300
@@ -4,7 +4,7 @@
 include config.mak
 
 ifeq ($(EXTRA_CFLAGS),)
-EXTRA_CFLAGS=-march=core2 -DDM_DEVEL
+EXTRA_CFLAGS=-O3 -march=core2 -DDM_DEVEL
 endif
 
 ifneq ($(DMLIB),)
@@ -202,7 +202,7 @@
 ###
 ### Rest of the rules
 ###
-CFLAGS += -g -W -Wall -DHAVE_STRING_H -O3 $(EXTRA_CFLAGS)
+CFLAGS += -g -W -Wall -DHAVE_STRING_H $(EXTRA_CFLAGS)
 CXXFLAGS=$(CFLAGS)
 
 DM_CFLAGS += $(SDL_CFLAGS)