From eb89dab5543fda0ddd4e46f8f35800bc4ef2224b Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Mon, 25 Jan 2016 18:36:25 +0100 Subject: ios: Don't use gas-preprocessor on i386 and x86-64 It only supports ARM and PPC. --- config/ios.config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config/ios.config') diff --git a/config/ios.config b/config/ios.config index 678ca0e0..0d103440 100644 --- a/config/ios.config +++ b/config/ios.config @@ -99,7 +99,8 @@ os.environ['NM']= 'nm' os.environ['NMEDIT']= 'nmedit' os.environ['RANLIB']= 'ranlib' os.environ['AS']= 'as' -os.environ['GAS']= '%s %s' % ('gas-preprocessor.pl', os.environ['CC']) +if not target_arch in [Architecture.X86, Architecture.X86_64]: + 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) os.environ['LDFLAGS'] = '%s -isysroot %s -miphoneos-version-min=%s -Wl,-iphoneos_version_min,%s -Wl,-undefined,error -Wl,-headerpad_max_install_names %s' %(arch_cflags, sysroot, min_version, min_version, extra_ldflags) -- cgit v1.2.3