aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortwinaphex2016-09-09 07:13:45 +0200
committertwinaphex2016-09-09 07:13:45 +0200
commit0099c902b7aa6bc76b63911055b12b715c3812d9 (patch)
treec0d7bd4334cea72d116ab74e66439b8c920ad616 /Makefile
parent2044c6c30f918a9987581c9e316940e88784b20e (diff)
downloadsnesemu-0099c902b7aa6bc76b63911055b12b715c3812d9.tar.gz
snesemu-0099c902b7aa6bc76b63911055b12b715c3812d9.tar.bz2
snesemu-0099c902b7aa6bc76b63911055b12b715c3812d9.zip
redports backport
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 845cb24..dfe353e 100644
--- a/Makefile
+++ b/Makefile
@@ -49,17 +49,13 @@ ifeq ($(platform), unix)
SHARED := -shared -Wl,--no-undefined -Wl,--version-script=link.T
CFLAGS += -fno-builtin \
- -fno-exceptions -ffunction-sections \
- -fomit-frame-pointer -fgcse-sm -fgcse-las -fgcse-after-reload \
- -fweb -fpeel-loops
+ -fno-exceptions -ffunction-sections
else ifeq ($(platform), linux-portable)
TARGET := $(TARGET_NAME)_libretro.so
fpic := -fPIC -nostdlib
SHARED := -shared -Wl,--version-script=link.T
CFLAGS += -fno-builtin \
- -fno-exceptions -ffunction-sections \
- -fomit-frame-pointer -fgcse-sm -fgcse-las -fgcse-after-reload \
- -fweb -fpeel-loops
+ -fno-exceptions -ffunction-sections
LIBM :=
else ifeq ($(platform), osx)
TARGET := $(TARGET_NAME)_libretro.dylib
@@ -149,9 +145,7 @@ else ifeq ($(platform), psp1)
LOAD_FROM_MEMORY_TEST = 0
FLAGS += -G0
CFLAGS += -march=allegrex -mno-abicalls -fno-pic -fno-builtin \
- -fno-exceptions -ffunction-sections -mno-long-calls \
- -fomit-frame-pointer -fgcse-sm -fgcse-las -fgcse-after-reload \
- -fweb -fpeel-loops
+ -fno-exceptions -ffunction-sections
DEFS += -DPSP -D_PSP_FW_VERSION=371
STATIC_LINKING := 1