From 1d023b634747568202befc7806c71c11d293a3af Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 14 Nov 2015 05:45:33 +0100 Subject: Ifdef some arguments --- Makefile.common | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.common b/Makefile.common index 6e82b94..aed94cd 100644 --- a/Makefile.common +++ b/Makefile.common @@ -82,12 +82,14 @@ endif #DEFINES += -D_C_GW_ #DEFINES += -DUSE_SA1 #DEFINES += -DFAST_LSB_WORD_ACCESS +ifeq ($(platform), 3ds) +# Do we need all this? Causes issues on non-GCC compilers, etc. DEFINES += -ffast-math -#DEFINES += -msoft-float DEFINES += -finline -finline-functions -fexpensive-optimizations DEFINES += -falign-functions=16 -falign-loops -falign-labels DEFINES += -falign-jumps -fstrict-aliasing -fsigned-char -frename-registers -fweb DEFINES += -fomit-frame-pointer +endif DEFINES += -ffast-math -funroll-loops -fomit-frame-pointer -- cgit v1.2.3