mirror of
https://github.com/libretro/libretro-o2em.git
synced 2024-11-27 02:10:24 +00:00
Add armv8 support
This commit is contained in:
parent
0405ea0b16
commit
0ba84dd316
19
Makefile
19
Makefile
@ -255,6 +255,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 += -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)
|
||||
HAVE_NEON = 1
|
||||
ARCH = arm
|
||||
LDFLAGS += -marm -mcpu=cortex-a35 -mfpu=neon-fp-armv8 -mfloat-abi=hard -Ofast -flto -fuse-linker-plugin
|
||||
#######################################
|
||||
|
||||
# Windows MSVC 2003 Xbox 1
|
||||
else ifeq ($(platform), xbox1_msvc2003)
|
||||
TARGET := $(TARGET_NAME)_libretro_xdk1.lib
|
||||
|
Loading…
Reference in New Issue
Block a user