summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-01-26 11:05:28 +0100
committerSebastian Dröge <sebastian@centricular.com>2016-01-26 11:05:28 +0100
commitadf6a51ee86c180efc9e0747398e15623064aadb (patch)
tree38b1424c6f643c50640fe01cbf8073b285fbb08e /config
parent778fb693a1258ae42e331d065c986401beb1f0da (diff)
ios: Unset GAS in the environment explicitly for iOS i386/x86-64
Diffstat (limited to 'config')
-rw-r--r--config/ios.config4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/ios.config b/config/ios.config
index 0d103440..529dd502 100644
--- a/config/ios.config
+++ b/config/ios.config
@@ -99,7 +99,9 @@ os.environ['NM']= 'nm'
os.environ['NMEDIT']= 'nmedit'
os.environ['RANLIB']= 'ranlib'
os.environ['AS']= 'as'
-if not target_arch in [Architecture.X86, Architecture.X86_64]:
+if target_arch in [Architecture.X86, Architecture.X86_64]:
+ os.environ.pop('GAS', None)
+else:
os.environ['GAS']= '%s %s' % ('gas-preprocessor.pl', os.environ['CC'])
if ios_platform == 'iPhoneOS':
os.environ['CFLAGS'] = '%s -isysroot %s -miphoneos-version-min=%s %s' %(arch_cflags, sysroot, min_version, extra_cflags)