environment: "power machintosh" is ppc
I've combined the two ppc checks into one, since they're not very
complicated and added power machintosh, which is used by PPC macs
running older versions of osx.
Fixes:
@@ -336,9 +336,7 @@ def detect_cpu_family(compilers: CompilersDict) -> str:
trial = 'arm'
elif trial.startswith(('powerpc64', 'ppc64')):
trial = 'ppc64'
- elif trial.startswith(('powerpc', 'ppc')):
- trial = 'ppc'
- elif trial == 'macppc':
+ elif trial.startswith(('powerpc', 'ppc')) or trial in {'macppc', 'power machintosh'}:
trial = 'ppc'
elif trial in ('amd64', 'x64', 'i86pc'):
trial = 'x86_64'
