From e712e5fe19d696d2265b6fc802720beca6b21e0d Mon Sep 17 00:00:00 2001 From: "T. Joseph Carter" Date: Fri, 20 Mar 2015 18:50:36 -0700 Subject: [PATCH] Hard-coding iOS 5.0 minimum doesn't work for mame (and likely others) --- libretro-config.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libretro-config.sh b/libretro-config.sh index 108938ab..1b7a2faa 100755 --- a/libretro-config.sh +++ b/libretro-config.sh @@ -30,11 +30,13 @@ case "$platform" in IOSVER_MAJOR=${iosver%.*} IOSVER_MINOR=${iosver#*.} IOSVER=${IOSVER_MAJOR}${IOSVER_MINOR} + MIN_IOS5="-miphoneos-version-min=5.0" + MIN_IOS7="-miphoneos-version-min=7.0" # Tell system clang to build for iOS - CC="clang -arch armv7 -miphoneos-version-min=5.0 -isysroot $IOSSDK" - CXX="clang++ -arch armv7 -miphoneos-version-min=5.0 -isysroot $IOSSDK" - CXX11="clang++ -std=c++11 -stdlib=libc++ -arch armv7 -miphoneos-version-min=5.0 -isysroot $IOSSDK" + CC="clang -arch armv7 -isysroot $IOSSDK" + CXX="clang++ -arch armv7 -isysroot $IOSSDK" + CXX11="clang++ -std=c++11 -stdlib=libc++ -arch armv7 -isysroot $IOSSDK" ;;