commit:     feb0124810202854af925a84f63fb30d43aff56a
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 21 14:28:09 2020 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Nov 21 14:28:09 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=feb01248

scripts/bootstrap-prefix: move llvm_deps into only consuming block

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

 scripts/bootstrap-prefix.sh | 10 +++++-----
 1 file 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 }

Reply via email to