support for iOS arm64 build

This commit is contained in:
Yoshi Sugawara 2017-09-29 05:47:35 -10:00 committed by radius
parent 1eb1113a24
commit dd30b63426

View File

@ -30,7 +30,7 @@ else ifneq ($(findstring MINGW,$(shell uname -a)),)
endif
ifeq ($(platform), win)
INCFLAGS += -I Windows
INCFLAGS += -I Windows
endif
CORE_DIR += .
@ -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