support for iOS arm64 build

This commit is contained in:
Yoshi Sugawara 2017-09-08 10:19:29 -10:00
parent 8169c668c9
commit 48993879dd

View File

@ -73,8 +73,12 @@ ifeq ($(IOSSDK),)
IOSSDK := $(shell xcodebuild -version -sdk iphoneos Path)
endif
CC = clang -arch armv7 -isysroot $(IOSSDK)
ifeq ($(platform),ios9)
ifeq ($(platform),ios-arm64)
CC = clang -arch arm64 -isysroot $(IOSSDK)
else
CC = clang -arch armv7 -isysroot $(IOSSDK)
endif
ifeq ($(platform),$(filter $(platform),ios9 ios-arm64))
CC += -miphoneos-version-min=8.0
SHARED += -miphoneos-version-min=8.0
else