commit: 77f0802a3c4de947f1cd0603601fa3c8416b2149 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> AuthorDate: Wed May 31 09:19:51 2023 +0000 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> CommitDate: Wed May 31 09:19:51 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=77f0802a
scripts/dobootstrap: force bitwidth to supported configs Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> scripts/auto-bootstraps/dobootstrap | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scripts/auto-bootstraps/dobootstrap b/scripts/auto-bootstraps/dobootstrap index de1a371627..8b8eb48bed 100755 --- a/scripts/auto-bootstraps/dobootstrap +++ b/scripts/auto-bootstraps/dobootstrap @@ -37,6 +37,17 @@ do_prepare() { fi local chost=$(${BASH} ${bootstrap} chost.guess x) + case ${chost} in + powerpc*-*darwin*) + # ppc64-darwin never really worked for unknown reasons + bitw=32 + ;; + *-solaris*|*-darwin*) + # force 64-bits for these targets, 32-bits is no longer + # supported + bitw=64 + ;; + esac case ${chost} in *86-*) if [[ ${bitw} == 64 ]] ; then