support for iOS arm64 build
@@ -81,8 +81,12 @@ ifeq ($(IOSSDK),)
endif
DEFINES := -DIOS
+ifeq ($(platform),ios-arm64)
+ CC = cc -arch armv64 -isysroot $(IOSSDK)
+else
CC = cc -arch armv7 -isysroot $(IOSSDK)
-ifeq ($(platform),ios9)
+endif
+ifeq ($(platform),$(filter $(platform),ios9 ios-arm64))
CC += -miphoneos-version-min=8.0
CXXFLAGS += -miphoneos-version-min=8.0
else
