diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2016-01-26 11:05:28 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-01-26 11:05:28 +0100 |
commit | adf6a51ee86c180efc9e0747398e15623064aadb (patch) | |
tree | 38b1424c6f643c50640fe01cbf8073b285fbb08e /config | |
parent | 778fb693a1258ae42e331d065c986401beb1f0da (diff) |
ios: Unset GAS in the environment explicitly for iOS i386/x86-64
Diffstat (limited to 'config')
-rw-r--r-- | config/ios.config | 4 |
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) |