toolchain: make lld the default linker
This commit is contained in:
parent
1d26409923
commit
892117b010
|
@ -83,8 +83,11 @@ function build_llvm() {
|
||||||
|
|
||||||
unset CC
|
unset CC
|
||||||
unset CXX
|
unset CXX
|
||||||
|
|
||||||
_pop
|
_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 "llvm build is ready at '$install_dir'"
|
||||||
info "Just add the 'bin' dir to you PATH"
|
info "Just add the 'bin' dir to you PATH"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue