summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraliaspider2016-01-19 03:26:02 +0100
committeraliaspider2016-01-19 03:26:02 +0100
commitdc6b31a9d4f6ef4621028bfead744f71807c8f95 (patch)
tree5310da28e6177e999646072da412e1fd7d3e06f0
parent8c59d1b69ebe70ffdd6089e405902093d2cb1de2 (diff)
parent5cce438b3e53292bf9197bbf28b387700e4e7d61 (diff)
downloadsnes9x2002-dc6b31a9d4f6ef4621028bfead744f71807c8f95.tar.gz
snes9x2002-dc6b31a9d4f6ef4621028bfead744f71807c8f95.tar.bz2
snes9x2002-dc6b31a9d4f6ef4621028bfead744f71807c8f95.zip
Merge pull request #14 from joolswills/gcc_opts
remove some more gcc opts -
-rw-r--r--Makefile7
-rw-r--r--Makefile.common3
2 files changed, 2 insertions, 8 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
diff --git a/Makefile.common b/Makefile.common
index b1beaf0..b39f219 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -78,7 +78,6 @@ endif
DEFINES += -DARM_ASM
DEFINES += -DRIGHTSHIFT_IS_SAR
DEFINES += -finline -fsigned-char
-DEFINES += -fomit-frame-pointer
DEFINES += -ffast-math -fstrict-aliasing
else
@@ -95,8 +94,6 @@ endif
#DEFINES += -D_C_GW_
#DEFINES += -DFAST_LSB_WORD_ACCESS
-DEFINES += -ffast-math -funroll-loops -fomit-frame-pointer
-
INCLUDES = -I$(LIBRETRO_DIR) -I$(CORE_DIR) -I.
DEFINES += -DHAVE_STRINGS_H -DHAVE_STDINT_H -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE=inline
#DEFINES += -DRIGHTSHIFT_IS_SAR