diff --git a/Build.md b/Build.md index c30a17b..1a232a6 100644 --- a/Build.md +++ b/Build.md @@ -109,7 +109,7 @@ git clone https://git.llvm.org/git/clang.git llvm/tools/clang cd llvm # create a build directory named `Release/` cmake -H. -BRelease -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DLLVM_ENABLE_LLD=ON -DLLVM_TARGETS_TO_BUILD=X86 -ninja -C Release clangFormat clangIndex clangTooling +ninja -C Release clangFormat clangFrontendTool clangIndex clangTooling ``` * Remove `LLVM_ENABLE_LLD` if you don't have lld (a much faster linker than bfd/gold) installed