From: twinaphex Date: Thu, 15 Oct 2015 14:34:45 +0000 (+0200) Subject: Update iOS rules X-Git-Tag: r24l~866 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c166f3762810e337ee65c411fcd5f787097ff1e;p=pcsx_rearmed.git Update iOS rules --- diff --git a/Makefile.libretro b/Makefile.libretro index b7cc4962..2b2a362d 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -52,7 +52,7 @@ else ifeq ($(platform), osx) fpic += -mmacosx-version-min=10.1 # iOS -else ifeq ($(platform), ios) +else ifneq (,$(findstring ios,$(platform))) ARCH := arm USE_DYNAREC ?= 1 TARGET := $(TARGET_NAME)_libretro_ios.dylib @@ -75,14 +75,17 @@ endif HAVE_NEON = 1 BUILTIN_GPU = neon CFLAGS += -DIOS - OSXVER = `sw_vers -productVersion | cut -d. -f 2` - OSX_LT_MAVERICKS = `(( $(OSXVER) <= 9)) && echo "YES"` - ifeq ($(OSX_LT_MAVERICKS),"YES") - CC += -miphoneos-version-min=5.0 - CXX += -miphoneos-version-min=5.0 - CC_AS += -miphoneos-version-min=5.0 - CFLAGS += -miphoneos-version-min=5.0 - endif +ifeq ($(platform),ios9) + CC += -miphoneos-version-min=8.0 + CXX += -miphoneos-version-min=8.0 + CC_AS += -miphoneos-version-min=8.0 + CFLAGS += -miphoneos-version-min=8.0 +else + CC += -miphoneos-version-min=5.0 + CXX += -miphoneos-version-min=5.0 + CC_AS += -miphoneos-version-min=5.0 + CFLAGS += -miphoneos-version-min=5.0 +endif # PS3 else ifeq ($(platform), ps3)