change compiler flags for performance. do a make clean first.

This commit is contained in:
dborth 2009-05-07 08:21:18 +00:00
parent 9df639a55c
commit a1f6194f57
2 changed files with 6 additions and 2 deletions

View File

@ -26,7 +26,9 @@ INCLUDES := include src/platform/wii
# options for code generation
#---------------------------------------------------------------------------------
CFLAGS = -g -O2 -Wall $(MACHDEP) $(INCLUDE) \
CFLAGS = -g -O3 -Wall $(MACHDEP) $(INCLUDE) \
-fomit-frame-pointer -fno-exceptions \
-Wno-unused-parameter -Wno-strict-aliasing \
-DWORDS_BIGENDIAN
CXXFLAGS = $(CFLAGS)
LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map

View File

@ -26,7 +26,9 @@ INCLUDES := include src/platform/wii
# options for code generation
#---------------------------------------------------------------------------------
CFLAGS = -g -O2 -Wall $(MACHDEP) $(INCLUDE) \
CFLAGS = -g -O3 -Wall $(MACHDEP) $(INCLUDE) \
-fomit-frame-pointer -fno-exceptions \
-Wno-unused-parameter -Wno-strict-aliasing \
-DWORDS_BIGENDIAN
CXXFLAGS = $(CFLAGS)
LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map -Wl,--cref