summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-03-27 15:16:47 +0300
committerSebastian Dröge <sebastian@centricular.com>2016-03-27 15:16:47 +0300
commitc57ff879289f7cb75ea447b49f04ad0fd9124ea0 (patch)
tree9af45d41c0e1f9f2f33c4276aaa972e832d20858 /config
parent5bd439644448be99c95002ad5ae7f714220b0a5b (diff)
ios: Remove support for SDKs older than 8.0
It's barely impossible to install them at this point anyway.
Diffstat (limited to 'config')
-rw-r--r--config/ios.config17
1 files changed, 4 insertions, 13 deletions
diff --git a/config/ios.config b/config/ios.config
index 87e4c21a..6b923231 100644
--- a/config/ios.config
+++ b/config/ios.config
@@ -37,11 +37,7 @@ for d,v in [(DistroVersion.IOS_9_3, '9.3'),
(DistroVersion.IOS_8_3, '8.3'),
(DistroVersion.IOS_8_2, '8.2'),
(DistroVersion.IOS_8_1, '8.1'),
- (DistroVersion.IOS_8_0, '8.0'),
- (DistroVersion.IOS_7_1, '7.1'),
- (DistroVersion.IOS_7_0, '7.0'),
- (DistroVersion.IOS_6_1, '6.1'),
- (DistroVersion.IOS_6_0, '6.0')]:
+ (DistroVersion.IOS_8_0, '8.0')]:
sysroot = os.path.join(iphone_platform, 'SDKs', '%s%s.sdk' %(ios_platform, v))
if os.path.exists (sysroot):
_sdk_version = d
@@ -82,14 +78,9 @@ else:
raise FatalError("Arch %s not supported" % target_arch)
# Toolchain environment
-
-if target_distro_version in [DistroVersion.IOS_7_0, DistroVersion.IOS_7_1, DistroVersion.IOS_8_0, DistroVersion.IOS_8_1, DistroVersion.IOS_8_2, DistroVersion.IOS_8_3, DistroVersion.IOS_8_4, DistroVersion.IOS_9_0, DistroVersion.IOS_9_1, DistroVersion.IOS_9_2, DistroVersion.IOS_9_3]:
- os.environ['CC']= 'clang'
- os.environ['CXX']= 'clang++'
- extra_cflags += ' -Wno-error=format-nonliteral -Wno-error=implicit-function-declaration '
-else:
- os.environ['CC']= 'llvm-gcc-4.2'
- os.environ['CXX']= 'llvm-g++-4.2'
+os.environ['CC']= 'clang'
+os.environ['CXX']= 'clang++'
+extra_cflags += ' -Wno-error=format-nonliteral -Wno-error=implicit-function-declaration '
os.environ['PATH'] = '%s:%s' % (_toolchain_root, os.environ['PATH'])
os.environ['OBJC'] = os.environ['CC']