11diff --git a/src/bootstrap/src/core/build_steps/llvm.rs b/src/bootstrap/src/core/build_steps/llvm.rs
2- index be5b4057..d053add5 100644
2+ index be5b4057..da2b5054 100644
33--- a/src/bootstrap/src/core/build_steps/llvm.rs
44+++ b/src/bootstrap/src/core/build_steps/llvm.rs
55@@ -308,7 +308,7 @@ fn run(self, builder: &Builder<'_>) -> LlvmResult {
@@ -11,18 +11,17 @@ index be5b4057..d053add5 100644
1111 panic!("shared linking to LLVM is not currently supported on {}", target.triple);
1212 }
1313
14- @@ -463,6 +463,10 @@ fn run(self, builder: &Builder<'_>) -> LlvmResult {
14+ @@ -463,6 +463,9 @@ fn run(self, builder: &Builder<'_>) -> LlvmResult {
1515 enabled_llvm_projects.push("clang");
1616 }
1717
18- + if builder.config.lld_enabled {
19- + enabled_llvm_projects.push("lld");
20- + }
18+ + // ONDK change: always enable lld
19+ + enabled_llvm_projects.push("lld");
2120+
2221 // We want libxml to be disabled.
2322 // See https://github.com/rust-lang/rust/pull/50104
2423 cfg.define("LLVM_ENABLE_LIBXML2", "OFF");
25- @@ -567,7 +571 ,7 @@ fn run(self, builder: &Builder<'_>) -> LlvmResult {
24+ @@ -567,7 +570 ,7 @@ fn run(self, builder: &Builder<'_>) -> LlvmResult {
2625 // link to make llvm-config happy.
2726 if builder.llvm_link_shared() && target.contains("apple-darwin") {
2827 let lib_name = find_llvm_lib_name("dylib");
0 commit comments