We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3049f05 + eb8e426 commit 23e8aafCopy full SHA for 23e8aaf
src/bootstrap/native.rs
@@ -156,8 +156,10 @@ impl Step for Llvm {
156
.define("LLVM_DEFAULT_TARGET_TRIPLE", target);
157
158
if builder.config.llvm_thin_lto && !emscripten {
159
- cfg.define("LLVM_ENABLE_LTO", "Thin")
160
- .define("LLVM_ENABLE_LLD", "ON");
+ cfg.define("LLVM_ENABLE_LTO", "Thin");
+ if !target.contains("apple") {
161
+ cfg.define("LLVM_ENABLE_LLD", "ON");
162
+ }
163
}
164
165
// By default, LLVM will automatically find OCaml and, if it finds it,
0 commit comments