summaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authortwinaphex2015-11-09 02:47:18 +0100
committertwinaphex2015-11-09 02:47:18 +0100
commit9fc4893c1061fde6022f44e57a02161d0d3b1c56 (patch)
tree9768a69e91aa35570d64fa61301cbeddbbec5355 /Makefile.common
parenta9da6ce7d68c476e5c73782ed8f293b0f633c005 (diff)
downloadsnes9x2002-9fc4893c1061fde6022f44e57a02161d0d3b1c56.tar.gz
snes9x2002-9fc4893c1061fde6022f44e57a02161d0d3b1c56.tar.bz2
snes9x2002-9fc4893c1061fde6022f44e57a02161d0d3b1c56.zip
Can't have certain GCC flags for non-ARM
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.common b/Makefile.common
index 2f04842..3364cf0 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -81,9 +81,8 @@ DEFINES += -ffast-math
#DEFINES += -msoft-float
DEFINES += -finline -finline-functions -fexpensive-optimizations
DEFINES += -falign-functions=16 -falign-loops -falign-labels
-DEFINES += -falign-jumps
+DEFINES += -falign-jumps -fstrict-aliasing -fsigned-char -frename-registers -fweb
DEFINES += -fomit-frame-pointer
-DEFINES += -fstrict-aliasing -mstructure-size-boundary=32 -fweb -fsigned-char -frename-registers
DEFINES += -ffast-math -funroll-loops -fomit-frame-pointer
@@ -92,6 +91,7 @@ DEFINES += -DHAVE_STRINGS_H -DHAVE_STDINT_H -DHAVE_INTTYPES_H -D__LIBRETRO__
DEFINES += -DUSE_SA1
ifeq ($(ARM_ASM), 1)
+DEFINES += -mstructure-size-boundary=32
DEFINES += -DARM_ASM
endif