mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Another scons fix/hack for OSX.
wx-config keeps returning -arch i386, breaking 64-bit builds. Thats the only place where a tuple occurs, filtering out non-strings should be fine for now until we find a better way to do this. This commit only affects Mac OSX. utils.py is reverted on purpose. if anything like this happens again, it will most likely fail and indicate more work. Thanks to tmator and knatsch who tested the patch on r4843 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4851 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -5,8 +5,7 @@ import platform
|
||||
def filterWarnings(self, flags):
|
||||
return ' '.join(
|
||||
flag
|
||||
# flags might contain tuples, like ('-arch','i386')
|
||||
for flag in map(lambda x:(x,'='.join(x))[isinstance(x,tuple)],flags)
|
||||
for flag in flags
|
||||
if not flag.startswith('-W')
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user