summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-09-18 19:57:29 +0300
committerTor Lillqvist <tml@collabora.com>2014-09-29 14:08:47 +0300
commit14157dcdf175f1ef45903f7ec3ed85d0f7c76798 (patch)
treedd5814ceb28ff2c4b4ef0d6d17959c97eb721311
parent00bd4571560bdbfbe4753d93513e55d58014228b (diff)
We can forget the iOS 6 SDK now
Change-Id: Ifefcf5c69ecacce0fb9538900ee67a9c086959e6
-rw-r--r--configure.ac27
1 files changed, 4 insertions, 23 deletions
diff --git a/configure.ac b/configure.ac
index 4bb0b5bc47a4..d58df767ae73 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2950,7 +2950,7 @@ if test $_os = iOS; then
xcode_developer=`xcode-select -print-path`
current_sdk_ver=7.1
- for sdkver in 8.0 7.1 7.0 6.1 6.0; do
+ for sdkver in 8.0 7.1; do
t=$xcode_developer/Platforms/$platform.platform/Developer/SDKs/$platform$sdkver.sdk
if test -d $t; then
ios_sdk=$sdkver
@@ -2973,24 +2973,16 @@ if test $_os = iOS; then
versionmin=-mios-simulator-version-min=7.0
else
XCODE_ARCHS=i386
- case $sdkver in
- 7.*)
- versionmin=-mios-simulator-version-min=6.1
- ;;
- *)
- versionmin=-mmacosx-version-min=10.7
- ;;
- esac
+ versionmin=-mios-simulator-version-min=7.0
fi
else
platform=iPhoneOS
if test "$BITNESS_OVERRIDE" = 64; then
XCODE_ARCHS=arm64
- versionmin=-miphoneos-version-min=7.0
else
XCODE_ARCHS=armv7
- versionmin=-miphoneos-version-min=6.1
fi
+ versionmin=-miphoneos-version-min=7.0
fi
# LTO is not really recommended for iOS builds,
@@ -3002,18 +2994,7 @@ if test $_os = iOS; then
# get compiled with it, to avoid ld warnings when linking all that together into one
# executable.
- # Use libc++ for iOS 7 SDK and libstdc++ for earlier (but we don't really expect anybody to
- # be be using an earlier SDK)
-
- XCODE_CLANG_CXX_LIBRARY=libstdc++
- case $ios_sdk in
- 6.*)
- ;;
- *)
- XCODE_CLANG_CXX_LIBRARY=libc++
- ;;
- esac
-
+ XCODE_CLANG_CXX_LIBRARY=libc++
stdlib="-stdlib=$XCODE_CLANG_CXX_LIBRARY"
CC="`xcrun -find clang` -arch $XCODE_ARCHS -fvisibility=hidden -isysroot $sysroot $lto $versionmin"