diff --git a/build.sh b/build.sh index e014493..dcce116 100755 --- a/build.sh +++ b/build.sh @@ -103,7 +103,7 @@ case "$(uname)" in if [ "${BUILD_WITH_PREBUILT_CLANG}" == 0 ] then INSTALL_DIR="${INSTALL_DIR}-stock-clang" - cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="${INSTALL_DIR}" -S llvm -B "${BUILD_DIR}" -DLLVM_ENABLE_PROJECTS="clang" + cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="${INSTALL_DIR}" -S llvm -B "${BUILD_DIR}" -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra" else INSTALL_DIR="${INSTALL_DIR}-prebuilt-clang" cmake -G Ninja -C clang/cmake/caches/Fuchsia.cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX="${INSTALL_DIR}" -S llvm -B "${BUILD_DIR}"