From faabbb3bb2389ad4e5e88a181e37d19efb708811 Mon Sep 17 00:00:00 2001 From: Ken Cunningham Date: Sun, 18 Oct 2020 23:18:26 -0700 Subject: fix typo "machintosh" -> "macintosh" fixes machine detection for power macintosh systems --- mesonbuild/environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index e3ea9564a..8c343d654 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -368,7 +368,7 @@ def detect_cpu_family(compilers: CompilersDict) -> str: trial = 'arm' elif trial.startswith(('powerpc64', 'ppc64')): trial = 'ppc64' - elif trial.startswith(('powerpc', 'ppc')) or trial in {'macppc', 'power machintosh'}: + elif trial.startswith(('powerpc', 'ppc')) or trial in {'macppc', 'power macintosh'}: trial = 'ppc' elif trial in ('amd64', 'x64', 'i86pc'): trial = 'x86_64' -- cgit v1.2.3