summaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authortwinaphex2015-11-14 05:45:33 +0100
committertwinaphex2015-11-14 05:45:33 +0100
commit1d023b634747568202befc7806c71c11d293a3af (patch)
tree7bde210d3418f4f794960671b0670729bb3f2275 /Makefile.common
parentd6a4315dd5f51d1070f159bbf9582d0411ed1ad6 (diff)
downloadsnes9x2002-1d023b634747568202befc7806c71c11d293a3af.tar.gz
snes9x2002-1d023b634747568202befc7806c71c11d293a3af.tar.bz2
snes9x2002-1d023b634747568202befc7806c71c11d293a3af.zip
Ifdef some arguments
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common4
1 files changed, 3 insertions, 1 deletions
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