From 763dadc797087948c26770f50aab1397f2519dc9 Mon Sep 17 00:00:00 2001 From: Wes Smith Date: Tue, 14 May 2019 19:25:52 -0400 Subject: [PATCH 1/1] Fixed cflags for PSC build (#281) * Committer: Wes Smith 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 --- Makefile.libretro | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.libretro b/Makefile.libretro index c40f64b7..5d380b65 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 ####################################### -- 2.39.2