diff options
author | Janne Grunau <j@jannau.net> | 2019-04-01 21:22:32 +0200 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-04-01 13:58:05 -0700 |
commit | 663517d23376809fd6bc0b69549ee823a06682d7 (patch) | |
tree | faae315c419a8998fa5914f04a8d94739cecce94 | |
parent | 1a79fdd7e78b432055347b40cec184284d86c307 (diff) | |
download | meson-663517d23376809fd6bc0b69549ee823a06682d7.zip meson-663517d23376809fd6bc0b69549ee823a06682d7.tar.gz meson-663517d23376809fd6bc0b69549ee823a06682d7.tar.bz2 |
detect 'arm64' as aarch64 CPU family
OpenBSD uses arm64 as identifier for the 64-bit ARM architecture.
Refs #1578.
-rw-r--r-- | mesonbuild/environment.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index deb6b7d..2241089 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -215,6 +215,9 @@ def detect_cpu_family(compilers): trial = 'x86' elif trial == 'bepc': trial = 'x86' + # OpenBSD's 64 bit arm architecute identifies as 'arm64' + elif trial == 'arm64': + trial = 'aarch64' elif trial.startswith('arm'): trial = 'arm' elif trial.startswith('ppc64'): |