diff options
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -84,9 +84,15 @@ ifeq ($(IOSSDK),) IOSSDK := $(shell xcodebuild -version -sdk iphoneos Path) endif +ifeq ($(platform),ios-arm64) + CC = cc -arch arm64 -isysroot $(IOSSDK) + CXX = c++ -arch arm64 -isysroot $(IOSSDK) +else CC = cc -arch armv7 -isysroot $(IOSSDK) CXX = c++ -arch armv7 -isysroot $(IOSSDK) -ifeq ($(platform),ios9) +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 |