aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/environment.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index 4bf77ac..26d3f15 100644
--- a/mesonbuild/environment.py
+++ b/mesonbuild/environment.py
@@ -220,6 +220,8 @@ def detect_cpu_family(compilers):
trial = 'arm'
elif trial.startswith('ppc64'):
trial = 'ppc64'
+ elif trial == 'macppc':
+ trial = 'ppc'
elif trial == 'powerpc':
trial = 'ppc'
# FreeBSD calls both ppc and ppc64 "powerpc".