diff --git a/Makefile.libretro b/Makefile.libretro index a553610..589d2d9 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -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