2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-23 02:16:01 +01:00

powerpc doesn't mean darwin

This commit is contained in:
Johan Boule 2011-12-03 20:35:55 +01:00
parent 19adba7841
commit 469742d18a

View File

@ -468,9 +468,6 @@ def unversioned_sys_platform():
elif s in ('SunOS', 'Solaris'): elif s in ('SunOS', 'Solaris'):
return 'sunos' return 'sunos'
else: s = s.lower() else: s = s.lower()
if s == 'powerpc':
s = 'darwin'
if s == 'win32' or s.endswith('os2') and s != 'sunos2': return s if s == 'win32' or s.endswith('os2') and s != 'sunos2': return s
return re.split('\d+$', s)[0] return re.split('\d+$', s)[0]