summaryrefslogtreecommitdiff
path: root/Toolchain/BuildClang.sh
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2021-09-06 17:41:00 -0400
committerLinus Groh <mail@linusgroh.de>2021-09-07 20:29:22 +0100
commiteb7b8a7bbe6125c4b92270b011c23f1d00118781 (patch)
tree9c49039371dbd2ad0da397ef0ed4971fd72fcab3 /Toolchain/BuildClang.sh
parent1ed1a57707abe30ab3a1c43d72b087bcb2af0af7 (diff)
downloadserenity-eb7b8a7bbe6125c4b92270b011c23f1d00118781.zip
Meta: Don't pass LLVM_LLVM_BUILD_LLVM_DYLIB to cmake
`LLVM_LLVM_BUILD_LLVM_DYLIB` does not exist, so passing this does nothing but make CMake warn. However, since we pass `LLVM_LINK_LLVM_DYLIB`, `LLVM_BUILD_LLVM_DYLIB` (the correct spelling) defaults to true anyways. So let's pass fewer flags. No behavior change, but fixes a CMake warning.
Diffstat (limited to 'Toolchain/BuildClang.sh')
-rwxr-xr-xToolchain/BuildClang.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/Toolchain/BuildClang.sh b/Toolchain/BuildClang.sh
index 37d17a6ea4..07013da877 100755
--- a/Toolchain/BuildClang.sh
+++ b/Toolchain/BuildClang.sh
@@ -259,7 +259,6 @@ pushd "$DIR/Build/clang/$ARCH"
-DLLVM_ENABLE_PROJECTS="clang;lld" \
-DLLVM_INCLUDE_BENCHMARKS=OFF \
-DLLVM_INCLUDE_TESTS=OFF \
- -DLLVM_LLVM_BUILD_LLVM_DYLIB=ON \
-DLLVM_LINK_LLVM_DYLIB=ON \
-DLLVM_INSTALL_UTILS=OFF \
${dev:+"-DLLVM_CCACHE_BUILD=ON"} || exit 1