diff --git a/Makefile.gc b/Makefile.gc index 483697d..badc74c 100644 --- a/Makefile.gc +++ b/Makefile.gc @@ -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 diff --git a/Makefile.wii b/Makefile.wii index 299dc02..cdffd7e 100644 --- a/Makefile.wii +++ b/Makefile.wii @@ -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