diff options
author | twinaphex | 2021-03-11 09:03:22 +0100 |
---|---|---|
committer | twinaphex | 2021-03-11 09:03:22 +0100 |
commit | dcb22994b12bbffd15c803594d53855af10079b6 (patch) | |
tree | 328efe4517f134a8f697aa6ea3c5a857bae1e4e7 /Makefile | |
parent | 218be8ef543fc25a603f20a2a3ee79fc7cdad611 (diff) | |
download | snes9x2005-dcb22994b12bbffd15c803594d53855af10079b6.tar.gz snes9x2005-dcb22994b12bbffd15c803594d53855af10079b6.tar.bz2 snes9x2005-dcb22994b12bbffd15c803594d53855af10079b6.zip |
Add ios-arm64/tvos-arm64
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -137,6 +137,7 @@ else ifneq (,$(findstring ios,$(platform))) TARGET := $(TARGET_NAME)_libretro_ios.dylib fpic := -fPIC SHARED := -dynamiclib + MINVERSION := ifeq ($(IOSSDK),) IOSSDK := $(shell xcodebuild -version -sdk iphoneos Path) @@ -151,14 +152,13 @@ else endif ifeq ($(platform),$(filter $(platform),ios9 ios-arm64)) - SHARED += -miphoneos-version-min=8.0 - CC += -miphoneos-version-min=8.0 - CXX += -miphoneos-version-min=8.0 + MINVERSION = -miphoneos-version-min=8.0 else - SHARED += -miphoneos-version-min=5.0 - CC += -miphoneos-version-min=5.0 - CXX += -miphoneos-version-min=5.0 + MINVERSION = -miphoneos-version-min=5.0 endif + SHARED += $(MINVERSION) + CC += $(MINVERSION) + CXX += $(MINVERSION) # tvOS else ifeq ($(platform), tvos-arm64) TARGET := $(TARGET_NAME)_libretro_tvos.dylib @@ -168,6 +168,8 @@ else ifeq ($(platform), tvos-arm64) ifeq ($(IOSSDK),) IOSSDK := $(shell xcodebuild -version -sdk appletvos Path) endif + CFLAGS += -DIOS + CC = cc -arch arm64 -isysroot $(IOSSDK) # Theos iOS else ifeq ($(platform), theos_ios) |