summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2020-11-21 15:28:09 +0100
committerFabian Groffen <grobian@gentoo.org>2020-11-21 15:28:09 +0100
commitfeb0124810202854af925a84f63fb30d43aff56a (patch)
tree3263b9e982e42ab2bea0cfbef3e05f95dc8f11e0
parentscripts/bootstrap-prefix: avoid unnecessary rebuilds in stage1 (diff)
downloadprefix-feb0124810202854af925a84f63fb30d43aff56a.tar.gz
prefix-feb0124810202854af925a84f63fb30d43aff56a.tar.bz2
prefix-feb0124810202854af925a84f63fb30d43aff56a.zip
scripts/bootstrap-prefix: move llvm_deps into only consuming block
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rwxr-xr-xscripts/bootstrap-prefix.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index e7f4ff194d..f45bf57b73 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -178,11 +178,6 @@ configure_toolchain() {
CC=gcc
CXX=g++
- llvm_deps="
- app-arch/libarchive
- app-crypt/rhash
- dev-util/cmake
- dev-util/ninja"
case ${CHOST}:${DARWIN_USE_GCC} in
powerpc-*darwin*|*:yes|*:1|*:true)
@@ -229,6 +224,11 @@ configure_toolchain() {
compiler_type="clang"
local ccvers="$( (unset CHOST; gcc --version 2>/dev/null) )"
local mycc=
+ local llvm_deps="
+ app-arch/libarchive
+ app-crypt/rhash
+ dev-util/cmake
+ dev-util/ninja"
case "${ccvers}" in
*"Apple clang version "*)
vers=${ccvers#*Apple clang version }