diff options
| -rw-r--r-- | src/bootstrap/native.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/native.rs b/src/bootstrap/native.rs index 9c543d49253..8f7ed87d063 100644 --- a/src/bootstrap/native.rs +++ b/src/bootstrap/native.rs @@ -201,7 +201,7 @@ impl Step for Llvm { if builder.config.llvm_thin_lto { cfg.define("LLVM_ENABLE_LTO", "Thin"); if !target.contains("apple") { - cfg.define("LLVM_ENABLE_LLD", "ON"); + cfg.define("LLVM_USE_LINKER", "lld"); } } |
