Merge pull request #4 from liberodark/patch-1

Add ARM64 Support
This commit is contained in:
Autechre 2021-05-18 13:04:56 +02:00 committed by GitHub
commit b6075d7497
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -356,6 +356,14 @@ else ifneq (,$(findstring hardfloat,$(platform)))
endif
CFLAGS += -DARM
else ifneq (,$(findstring aarch64,$(platform)))
TARGET := $(TARGET_NAME)_libretro.so
SHARED := -shared -Wl,--no-undefined -Wl,--version-script=link.T
fpic := -fPIC
CFLAGS += -D_GNU_SOURCE=1
FLAGS += -DARM
FLAGS += -fomit-frame-pointer -ffast-math
# Windows MSVC 2003 Xbox 1
else ifeq ($(platform), xbox1_msvc2003)
TARGET := $(TARGET_NAME)_libretro_xdk1.lib