summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2021-02-20 15:18:25 +0100
committerFabian Groffen <grobian@gentoo.org>2021-02-20 15:18:54 +0100
commitb6bf14b92f884e30ad8b781d887b86828f70b557 (patch)
tree8dae939b05ac6810e80038f216a56edce1dc77bf
parentsys-devel/gcc-10.2.0-r5: fix build on darwin19 (10.15) (diff)
downloadprefix-b6bf14b92f884e30ad8b781d887b86828f70b557.tar.gz
prefix-b6bf14b92f884e30ad8b781d887b86828f70b557.tar.bz2
prefix-b6bf14b92f884e30ad8b781d887b86828f70b557.zip
scripts/auto-bootstraps/dobootstrap: recognise arm64-macos
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rwxr-xr-xscripts/auto-bootstraps/dobootstrap3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/auto-bootstraps/dobootstrap b/scripts/auto-bootstraps/dobootstrap
index 636c12688b..a38d88e6bc 100755
--- a/scripts/auto-bootstraps/dobootstrap
+++ b/scripts/auto-bootstraps/dobootstrap
@@ -62,6 +62,9 @@ do_prepare() {
chost=powerpc-${chost#*-}
fi
;;
+ arm64-*)
+ bitw=64
+ ;;
sparc-*)
if [[ ${bitw} == 64 ]] ; then
chost=sparcv9-${chost#*-}