aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/environment.py
diff options
context:
space:
mode:
authorFrançois Revol <revol@free.fr>2019-03-12 03:39:42 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2019-03-26 22:02:55 +0200
commit31d725555300b04fdc400b6c7002489d7e96efd2 (patch)
treec46b1af3d562987b34baf7f4fc8511fdc0b75faf /mesonbuild/environment.py
parent6253bbc6cc18f2850d924eac690338dcdf45a23b (diff)
downloadmeson-31d725555300b04fdc400b6c7002489d7e96efd2.zip
meson-31d725555300b04fdc400b6c7002489d7e96efd2.tar.gz
meson-31d725555300b04fdc400b6c7002489d7e96efd2.tar.bz2
Properly detect 'bepc' as 'x86' CPU for Haiku
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r--mesonbuild/environment.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index 0832463..74ce058 100644
--- a/mesonbuild/environment.py
+++ b/mesonbuild/environment.py
@@ -204,6 +204,8 @@ def detect_cpu_family(compilers):
trial = platform.machine().lower()
if trial.startswith('i') and trial.endswith('86'):
trial = 'x86'
+ elif trial == 'bepc':
+ trial = 'x86'
elif trial.startswith('arm'):
trial = 'arm'
elif trial.startswith('ppc64'):