From: Wes Smith Date: Tue, 14 May 2019 23:25:52 +0000 (-0400) Subject: Fixed cflags for PSC build (#281) X-Git-Tag: r24l~731 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=763dadc797087948c26770f50aab1397f2519dc9;hp=80209d1715398a16b6ace1c2e4cd0aab5c00248d;p=pcsx_rearmed.git 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 --- 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 #######################################