mirror of
https://github.com/libretro/beetle-lynx-libretro.git
synced 2024-11-23 08:10:55 +00:00
Add armv8 support
This commit is contained in:
parent
c27322ec7f
commit
402d62ec63
18
Makefile
18
Makefile
@ -257,6 +257,24 @@ else ifeq ($(platform), classic_armv7_a7)
|
||||
endif
|
||||
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)
|
||||
HAVE_NEON = 1
|
||||
ARCH = arm
|
||||
LDFLAGS += -marm -mcpu=cortex-a35 -mfpu=neon-fp-armv8 -mfloat-abi=hard -Ofast -flto -fuse-linker-plugin
|
||||
#######################################
|
||||
|
||||
else ifeq ($(platform), rpi3)
|
||||
TARGET := $(TARGET_NAME)_libretro.so
|
||||
|
Loading…
Reference in New Issue
Block a user