diff options
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/configure.py b/configure.py index 855325865..aee1657c4 100755 --- a/configure.py +++ b/configure.py @@ -856,11 +856,13 @@ class CompilerInfo(object): abi_link = set() for what in [all(), options.os, options.arch, options.cpu]: - if self.mach_abi_linking.get(what) != None: - abi_link.add(self.mach_abi_linking.get(what)) + flag = self.mach_abi_linking.get(what) + if flag != None and flag != '': + abi_link.add(flag) for flag in options.cc_abi_flags.split(' '): - abi_link.add(flag) + if flag != '': + abi_link.add(flag) if len(abi_link) == 0: return '' |