summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJools Wills2016-01-19 01:29:13 +0000
committerJools Wills2016-01-19 01:36:49 +0000
commit5cce438b3e53292bf9197bbf28b387700e4e7d61 (patch)
tree5310da28e6177e999646072da412e1fd7d3e06f0 /Makefile
parent8c59d1b69ebe70ffdd6089e405902093d2cb1de2 (diff)
downloadsnes9x2002-5cce438b3e53292bf9197bbf28b387700e4e7d61.tar.gz
snes9x2002-5cce438b3e53292bf9197bbf28b387700e4e7d61.tar.bz2
snes9x2002-5cce438b3e53292bf9197bbf28b387700e4e7d61.zip
remove some gcc opts -
* -fgcse-sm -fgcse-las - let gcc decide via O3 * -ffunction-sections / -fpeel-loops / -funroll-loops (normally only used when profiling shows there are actual benefits - unrolling loops may not be of benefit on all targets) * -fgcse-after-reload / -fweb (already enabled by -O3) * a few duplicate -fomit-frame-pointer / -ffast-math
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index a50173e..a8d1875 100644
--- a/Makefile
+++ b/Makefile
@@ -18,10 +18,7 @@ ifeq ($(platform), unix)
TARGET := $(TARGET_NAME)_libretro.so
fpic := -fPIC
SHARED := -shared -Wl,--version-script=libretro/link.T -Wl,--no-undefined
- CFLAGS += -fno-builtin \
- -fno-exceptions -ffunction-sections \
- -fomit-frame-pointer -fgcse-sm -fgcse-las -fgcse-after-reload \
- -fweb -fpeel-loops
+ CFLAGS += -fno-builtin -fno-exceptions
else ifeq ($(platform), osx)
TARGET := $(TARGET_NAME)_libretro.dylib
fpic := -fPIC
@@ -153,4 +150,4 @@ clean:
.PHONY: clean
-endif \ No newline at end of file
+endif