From 3940eec76568f2d8dc0ad54920bbe966b9d8973e Mon Sep 17 00:00:00 2001 From: liberodark Date: Tue, 18 May 2021 08:36:18 +0200 Subject: [PATCH] Add ARM64 Support --- platform/libretro/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/platform/libretro/Makefile b/platform/libretro/Makefile index 4a5a5c0..0356342 100644 --- a/platform/libretro/Makefile +++ b/platform/libretro/Makefile @@ -355,6 +355,14 @@ else ifneq (,$(findstring hardfloat,$(platform))) ASFLAGS += -mfloat-abi=hard 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)