diff options
author | lloyd <[email protected]> | 2014-02-09 17:18:24 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-02-09 17:18:24 +0000 |
commit | d0d68e56fac6d25c0a3b176bf4e0b43340e660fc (patch) | |
tree | 32b0acba450854b462a3270de9820c30567b21d2 /configure.py | |
parent | 67fe75e50e6526aa3a17f6fb8a1c0e6e22868d13 (diff) |
Cleaner abi flag gen
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 '' |