mirror of
https://github.com/libretro/beetle-pce-fast-libretro.git
synced 2024-11-22 23:39:50 +00:00
add armv8 support
This commit is contained in:
parent
ccb886310e
commit
6c43a51354
19
Makefile
19
Makefile
@ -128,6 +128,25 @@ 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,--no-undefined -Wl,--version-script=link.T
|
||||
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)
|
||||
HAVE_NEON = 1
|
||||
ARCH = arm
|
||||
LDFLAGS += -lrt
|
||||
LDFLAGS += -marm -mcpu=cortex-a35 -mfpu=neon-fp-armv8 -mfloat-abi=hard -Ofast -flto -fuse-linker-plugin
|
||||
######################################
|
||||
|
||||
# OS X
|
||||
else ifeq ($(platform), osx)
|
||||
TARGET := $(TARGET_NAME)_libretro.dylib
|
||||
|
Loading…
Reference in New Issue
Block a user