diff options
author | Fabian Groffen <grobian@gentoo.org> | 2021-01-01 13:33:43 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2021-01-01 13:33:43 +0100 |
commit | 0a3b74f39934e6ed3c46a48096205880818bdb94 (patch) | |
tree | ae58b8d425e902882927490345eea97a29a2928b | |
parent | dev-libs/openssl: add support for arm64-macos (diff) | |
download | prefix-0a3b74f3.tar.gz prefix-0a3b74f3.tar.bz2 prefix-0a3b74f3.zip |
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@gentoo.org>
-rwxr-xr-x | scripts/bootstrap-prefix.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 |