summaryrefslogtreecommitdiff
path: root/Toolchain/BuildClang.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Toolchain/BuildClang.sh')
-rwxr-xr-xToolchain/BuildClang.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/Toolchain/BuildClang.sh b/Toolchain/BuildClang.sh
index 465a52a2db..5c4f3dfba3 100755
--- a/Toolchain/BuildClang.sh
+++ b/Toolchain/BuildClang.sh
@@ -259,6 +259,9 @@ 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
buildstep "llvm+clang/build" ninja -j "$MAKEJOBS" || exit 1