commit: 8941bb16307343e0a3199e17dc25b85dad84045f
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 6 11:07:23 2019 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Wed Mar 6 11:09:06 2019 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=8941bb16
dobootstrap: acknowledge theoretical posibility for ppc64-macos
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
scripts/auto-bootstraps/dobootstrap | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/scripts/auto-bootstraps/dobootstrap
b/scripts/auto-bootstraps/dobootstrap
index 0073ab176e..00c3925684 100755
--- a/scripts/auto-bootstraps/dobootstrap
+++ b/scripts/auto-bootstraps/dobootstrap
@@ -55,7 +55,12 @@ do_prepare() {
fi
;;
powerpc-*)
- bitw=32
+ if [[ ${bitw} == 64 ]] ; then
+ chost=powerpc64-${chost#*-}
+ else
+ bitw=32
+ chost=powerpc-${chost#*-}
+ fi
;;
sparc-*)
if [[ ${bitw} == 64 ]] ; then