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.
1 parent 73364c8 commit f4b8451Copy full SHA for f4b8451
src/bootstrap/native.rs
@@ -153,7 +153,7 @@ impl Step for Llvm {
153
.define("LLVM_TARGET_ARCH", target.split('-').next().unwrap())
154
.define("LLVM_DEFAULT_TARGET_TRIPLE", target);
155
156
- if builder.config.llvm_thin_lto {
+ if builder.config.llvm_thin_lto && !emscripten {
157
cfg.define("LLVM_ENABLE_LTO", "Thin")
158
.define("LLVM_ENABLE_LLD", "ON");
159
}
0 commit comments