support for iOS arm64 build
This commit is contained in:
parent
1eb1113a24
commit
dd30b63426
@ -30,7 +30,7 @@ else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(platform), win)
|
ifeq ($(platform), win)
|
||||||
INCFLAGS += -I Windows
|
INCFLAGS += -I Windows
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CORE_DIR += .
|
CORE_DIR += .
|
||||||
@ -81,8 +81,12 @@ ifeq ($(IOSSDK),)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
DEFINES := -DIOS
|
DEFINES := -DIOS
|
||||||
|
ifeq ($(platform),ios-arm64)
|
||||||
|
CC = cc -arch armv64 -isysroot $(IOSSDK)
|
||||||
|
else
|
||||||
CC = cc -arch armv7 -isysroot $(IOSSDK)
|
CC = cc -arch armv7 -isysroot $(IOSSDK)
|
||||||
ifeq ($(platform),ios9)
|
endif
|
||||||
|
ifeq ($(platform),$(filter $(platform),ios9 ios-arm64))
|
||||||
CC += -miphoneos-version-min=8.0
|
CC += -miphoneos-version-min=8.0
|
||||||
CXXFLAGS += -miphoneos-version-min=8.0
|
CXXFLAGS += -miphoneos-version-min=8.0
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user