about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-11-06 06:59:19 -0800
committerAlex Crichton <alex@alexcrichton.com>2017-11-06 07:49:05 -0800
commitef0d843e6186d189a3b8780ee6daa2eb5c42d2fd (patch)
tree8c39ea8b382fe1a5c64ad779f1b694d802c1100b /src/bootstrap
parent19402f11e12042367f2b711155cdde61a608b660 (diff)
downloadrust-ef0d843e6186d189a3b8780ee6daa2eb5c42d2fd.tar.gz
rust-ef0d843e6186d189a3b8780ee6daa2eb5c42d2fd.zip
rustbuild: Re-enable ThinLTO for MIPS
Now that the upstream LLVM bug is now fixed this commit cherry-picks the commit
onto our LLVM and then re-enables the ThinLTO paths for MIPS.

Closes #45654
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/builder.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs
index bb3d9dc3f33..c8e808a0188 100644
--- a/src/bootstrap/builder.rs
+++ b/src/bootstrap/builder.rs
@@ -625,8 +625,7 @@ impl<'a> Builder<'a> {
 
             if mode != Mode::Libstd && // FIXME(#45320)
                self.config.rust_codegen_units.is_none() &&
-               self.build.is_rust_llvm(compiler.host) &&
-               !target.contains("mips") // FIXME(#45654)
+               self.build.is_rust_llvm(compiler.host)
             {
                 cargo.env("RUSTC_THINLTO", "1");
             }