From f6c6b31d26b5b08fbd1df907e37c5c02c7d71f90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-S=C3=A9bastien=20P=C3=A9dron?= Date: Fri, 3 Feb 2017 08:56:46 +0100 Subject: [PATCH] `aarch64` CPU type is called `arm64` on FreeBSD --- configure | 2 +- src/bootstrap/bootstrap.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 208fb7e68363..eea70b33e7ea 100755 --- a/configure +++ b/configure @@ -517,7 +517,7 @@ case $CFG_CPUTYPE in CFG_OSTYPE="${CFG_OSTYPE}eabihf" ;; - aarch64) + aarch64 | arm64) CFG_CPUTYPE=aarch64 ;; diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index 85e8dbce1a95..7265d183000d 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -379,6 +379,8 @@ class RustBuild(object): ostype += 'eabihf' elif cputype == 'aarch64': cputype = 'aarch64' + elif cputype == 'arm64': + cputype = 'aarch64' elif cputype == 'mips': if sys.byteorder == 'big': cputype = 'mips'