Fixed cflags for PSC build (#281)
authorWes Smith <evilwraith@gmail.com>
Tue, 14 May 2019 23:25:52 +0000 (19:25 -0400)
committerhizzlekizzle <hizzlekizzle@users.noreply.github.com>
Tue, 14 May 2019 23:25:52 +0000 (18:25 -0500)
*  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

Makefile.libretro

index c40f64b..5d380b6 100644 (file)
@@ -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
 
 #######################################