mirror of https://gitlab.com/ita1024/waf.git
The previous change breaks the powerpc builds
The compiler detection often relies on functions named gcc_xxx_platform, if powerpc is left, then all the functions must be added in all those modules.
This commit is contained in:
parent
469742d18a
commit
250a8c699c
|
@ -468,6 +468,10 @@ def unversioned_sys_platform():
|
|||
elif s in ('SunOS', 'Solaris'):
|
||||
return 'sunos'
|
||||
else: s = s.lower()
|
||||
|
||||
# powerpc == darwin for our purposes
|
||||
if s == 'powerpc':
|
||||
return 'darwin'
|
||||
if s == 'win32' or s.endswith('os2') and s != 'sunos2': return s
|
||||
return re.split('\d+$', s)[0]
|
||||
|
||||
|
|
Loading…
Reference in New Issue