Unverified Commit 30059337 authored by Libretro-Admin's avatar Libretro-Admin Committed by GitHub
Browse files

Merge pull request #29 from liberodark/patch-1

Add armv8 support
parents 4832ef4d 0bd28ef6
Pipeline #12850 passed with stages
in 8 minutes and 29 seconds
......@@ -299,6 +299,23 @@ else ifeq ($(platform), classic_armv7_a7)
endif
#######################################
# (armv8 a35, hard point, neon based) ###
# PlayStation Classic
else ifeq ($(platform), classic_armv8_a35)
TARGET := $(TARGET_NAME)_libretro.so
fpic := -fPIC
SHARED := -shared -Wl,--version-script=build/link.T -Wl,--no-undefined
CFLAGS += -DARM -Ofast \
-fuse-linker-plugin \
-fno-stack-protector -fno-ident -fomit-frame-pointer \
-fmerge-all-constants -ffast-math -funroll-all-loops \
-marm -mcpu=cortex-a35 -mfpu=neon-fp-armv8 -mfloat-abi=hard
CXXFLAGS += $(CFLAGS)
CPPFLAGS += $(CFLAGS)
ASFLAGS += $(CFLAGS)
LDFLAGS += -marm -mcpu=cortex-a35 -mfpu=neon-fp-armv8 -mfloat-abi=hard -Ofast -flto -fuse-linker-plugin
#######################################
# ARM
else ifneq (,$(findstring armv,$(platform)))
TARGET := $(TARGET_NAME)_libretro.so
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment