commit:     0a3b74f39934e6ed3c46a48096205880818bdb94
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  1 12:33:43 2021 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Fri Jan  1 12:33:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=0a3b74f3

scripts/bootstrap-prefix: install gnuconfig first thing

this is in particular useful on arm64-macos where the CHOST triple isn't
known, but won't hurt for other targets

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 scripts/bootstrap-prefix.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 2de55682af..ea77baae8d 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -224,7 +224,7 @@ configure_toolchain() {
                        compiler_stage1="sys-apps/darwin-miscutils sys-libs/csu"
                        compiler_type="clang"
                        local ccvers="$( (unset CHOST; gcc --version 
2>/dev/null) )"
-                       local llvm_deps="dev-util/ninja sys-devel/gnuconfig"
+                       local llvm_deps="dev-util/ninja"
                        case "${ccvers}" in
                                *"Apple clang version "*|*"Apple LLVM version 
"*)
                                        # this is Clang, recent enough to 
compile recent clang
@@ -1779,6 +1779,7 @@ bootstrap_stage2() {
 
        # Build a basic compiler and portage dependencies in $ROOT/tmp.
        pkgs=(
+               sys-devel/gnuconfig
                sys-apps/gentoo-functions
                app-portage/elt-patches
                $([[ ${CHOST} == *-aix* ]] && echo dev-libs/libiconv ) # bash 
dependency

Reply via email to