bootstrap: Never compiler llvm-emscripten with ThinLTO.

This commit is contained in:
Michael Woerister 2018-08-14 14:26:34 +02:00
parent 73364c8bef
commit f4b8451ad9
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ impl Step for Llvm {
.define("LLVM_TARGET_ARCH", target.split('-').next().unwrap())
.define("LLVM_DEFAULT_TARGET_TRIPLE", target);
if builder.config.llvm_thin_lto {
if builder.config.llvm_thin_lto && !emscripten {
cfg.define("LLVM_ENABLE_LTO", "Thin")
.define("LLVM_ENABLE_LLD", "ON");
}