toolchain: make lld the default linker

This commit is contained in:
Sameer Rahmani 2023-03-08 20:51:35 +00:00
parent 1d26409923
commit 892117b010
Signed by: lxsameer
GPG Key ID: B0A4AF28AB9FD90B
1 changed files with 4 additions and 1 deletions

View File

@ -83,8 +83,11 @@ function build_llvm() {
unset CC
unset CXX
_pop
# Enable the lld linker as the default linker for this toolchain
ln -s "$install_dir/bin/ld.lld" "$install_dir/bin/ld"
info "llvm build is ready at '$install_dir'"
info "Just add the 'bin' dir to you PATH"
}