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:
parent
19adba7841
commit
469742d18a
@ -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]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user