Commit 0252a0fa authored by Libretro-Admin's avatar Libretro-Admin
Browse files

(macOS) Set up CROSS_COMPILE for ARM 64bit

parent 80e0e227
Pipeline #14174 passed with stages
in 20 minutes and 36 seconds
......@@ -140,6 +140,13 @@ else ifeq ($(platform), osx)
fpic += -mmacosx-version-min=10.7
CXXFLAGS += -stdlib=libc++
LDFLAGS += -stdlib=libc++
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
# iOS
else ifneq (,$(findstring ios,$(platform)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment