From 8713b659444a6966e3b85e483fee9df7fde3ad9a 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 a4d830586..0232d40b9 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'):