diff options
author | twinaphex | 2021-01-29 09:03:33 +0100 |
---|---|---|
committer | twinaphex | 2021-01-29 09:03:33 +0100 |
commit | ff6a6e6e6482ac1a773b192f87916688ebd86abd (patch) | |
tree | 2b4cba6d38c43a6a351823b3c726d1dd2676c57d /Makefile | |
parent | 0cdf9acc5cb073a0d0b1a1bdc0e86aa56b3f69a9 (diff) | |
download | snes9x2002-ff6a6e6e6482ac1a773b192f87916688ebd86abd.tar.gz snes9x2002-ff6a6e6e6482ac1a773b192f87916688ebd86abd.tar.bz2 snes9x2002-ff6a6e6e6482ac1a773b192f87916688ebd86abd.zip |
(MacOS) Add ARM 64bit support
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -34,6 +34,15 @@ else ifeq ($(platform), osx) TARGET := $(TARGET_NAME)_libretro.dylib fpic := -fPIC SHARED := -dynamiclib + + ifeq ($(CROSS_COMPILE),1) + TARGET_RULE = -target $(LIBRETRO_APPLE_PLATFORM) -isysroot $(LIBRETRO_APPLE_ISYSROOT) + CFLAGS += $(TARGET_RULE) + CPPFLAGS += $(TARGET_RULE) + CXXFLAGS += $(TARGET_RULE) + LDFLAGS += $(TARGET_RULE) + endif + else ifneq (,$(findstring ios,$(platform))) TARGET := $(TARGET_NAME)_libretro_ios.dylib fpic := -fPIC |