aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWes Smith2019-05-14 19:25:52 -0400
committerhizzlekizzle2019-05-14 18:25:52 -0500
commit763dadc797087948c26770f50aab1397f2519dc9 (patch)
treef1f2859b935c1881a3e7439c6c6b07f4b692db62
parent80209d1715398a16b6ace1c2e4cd0aab5c00248d (diff)
downloadpcsx_rearmed-763dadc797087948c26770f50aab1397f2519dc9.tar.gz
pcsx_rearmed-763dadc797087948c26770f50aab1397f2519dc9.tar.bz2
pcsx_rearmed-763dadc797087948c26770f50aab1397f2519dc9.zip
Fixed cflags for PSC build (#281)
* Committer: Wes Smith <wraith@smithmedia.wraithbox.com> On branch master Your branch is up to date with 'origin/master'. Changes to be committed: modified: Makefile.libretro Added v8a35 to Makefile * modified makefile with libretro changes * New makefile format from libretro * Updated with PSClassic Make again * Updated PSC config * Fix compile flags Re-add optimizations, -mtune
-rw-r--r--Makefile.libretro5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.libretro b/Makefile.libretro
index c40f64b..5d380b6 100644
--- a/Makefile.libretro
+++ b/Makefile.libretro
@@ -291,12 +291,13 @@ else ifeq ($(platform), classic_armv7_a7)
else ifeq ($(platform), classic_armv8_a35)
TARGET := $(TARGET_NAME)_libretro.so
fpic := -fPIC
- CFLAGS += -marm -mtune=cortex-a35 -mfpu=neon-fp-armv8 -mfloat-abi=hard
+ CFLAGS += -Ofast \
+ -fmerge-all-constants -fno-math-errno -march=armv8-a \
+ -marm -mcpu=cortex-a35 -mtune=cortex-a35 -mfpu=neon-fp-armv8 -mfloat-abi=hard
HAVE_NEON = 1
ARCH = arm
BUILTIN_GPU = neon
USE_DYNAREC = 1
- CFLAGS += -march=armv8-a
LDFLAGS += -static-libgcc -static-libstdc++ -fPIC
#######################################