From 250a8c699ca76d929c7e6bbbdc10aa26cfcf920c Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Sat, 3 Dec 2011 21:44:38 +0100 Subject: [PATCH] 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. --- waflib/Utils.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/waflib/Utils.py b/waflib/Utils.py index 930ffcda..16b9737a 100644 --- a/waflib/Utils.py +++ b/waflib/Utils.py @@ -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]