From 31d725555300b04fdc400b6c7002489d7e96efd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Tue, 12 Mar 2019 03:39:42 +0100 Subject: [PATCH] Properly detect 'bepc' as 'x86' CPU for Haiku --- mesonbuild/environment.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index 08324632a..74ce058c2 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'):