Commit bc2ab786 authored by phcoder's avatar phcoder
Browse files

Fix osx-arm64 compilation

parent 2e6736cd
...@@ -28,6 +28,14 @@ else ifeq ($(platform), osx) ...@@ -28,6 +28,14 @@ else ifeq ($(platform), osx)
fpic := -fPIC fpic := -fPIC
SHARED := -dynamiclib 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
# Classic Platforms #################### # Classic Platforms ####################
# Platform affix = classic_<ISA>_<µARCH> # Platform affix = classic_<ISA>_<µARCH>
# Help at https://modmyclassic.com/comp # Help at https://modmyclassic.com/comp
......
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