From 4bcd398acf49847f742fa4e10465b5127f787989 Mon Sep 17 00:00:00 2001 From: Autechre Date: Fri, 15 Jan 2021 22:56:23 +0100 Subject: [PATCH] Update Makefile.libretro --- Makefile.libretro | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.libretro b/Makefile.libretro index 508d236..50f4768 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -87,7 +87,10 @@ else ifeq ($(platform), osx) ifeq ($(arch),ppc) ENDIANNESS_DEFINES += -DMSB_FIRST -DHAVE_NO_LANGEXTRA endif - ifneq ($(arch),arm) + ifeq ($(arch),arm) + TARGET_RULE = -target $(LIBRETRO_APPLE_PLATFORM) -isysroot $(LIBRETRO_APPLE_ISYSROOT) + CFLAGS += $(TARGET_RULE) + else fpic += -mmacosx-version-min=10.1 endif OSXVER = `sw_vers -productVersion | cut -d. -f 2`