about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
-rw-r--r--scripts/build/p-clang-linux.inc2
-rw-r--r--scripts/build/p-libcxx.inc4
2 files changed, 1 insertions, 5 deletions
diff --git a/scripts/build/p-clang-linux.inc b/scripts/build/p-clang-linux.inc
index c6ee025e..25f468fa 100644
--- a/scripts/build/p-clang-linux.inc
+++ b/scripts/build/p-clang-linux.inc
@@ -6,7 +6,7 @@ setup_artifact_variables_clang() {
   [[ "${LLVM_VERSION_MAJOR}" -ge 7 ]] && version="-${LLVM_VERSION_MAJOR}"
 
   # Only set LLVM_CONFIG if not set yet
-  if [[ -z "${LLVM_CONFIG-}" ]]; then
+  if [[ -z "${LLVM_CONFIG:-}" ]]; then
     LLVM_CONFIG=$(which "llvm-config${version}")
   fi
 
diff --git a/scripts/build/p-libcxx.inc b/scripts/build/p-libcxx.inc
index d88699ba..27fe4a61 100644
--- a/scripts/build/p-libcxx.inc
+++ b/scripts/build/p-libcxx.inc
@@ -20,10 +20,6 @@ download_libcxx() {
      patch -p1 --follow-symlinks -i "${DIR}/patches/libcxx${LLVM_VERSION_SHORT}.patch" || return 1
   fi
 
-  # Prepare LLVM subprojects for older LLVM versions
-  cd "${LIBCXX_SRC}/llvm/projects"
-  ln -s ../../libcxx .
-  ln -s ../../libcxxabi .
 
   touch "${LIBCXX_SRC}/.src_checked_out" 
 }