about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2020-01-29 18:05:26 +0100
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2020-01-29 18:05:36 +0100
commit2124a85260fdf0851bb4de369d311bcfc05b205f (patch)
treebd6561949a6c50061aa2ff03d4e635dd0444bd73 /src/bootstrap
parent95318f8d859dc55cc5e06722c96f6e492529d6ca (diff)
Don't use a whitelist for use_lld
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/lib.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs
index 97552224103..5e4bedbeb28 100644
--- a/src/bootstrap/lib.rs
+++ b/src/bootstrap/lib.rs
@@ -829,11 +829,7 @@ impl Build {
             && !target.contains("msvc")
         {
             Some(self.cc(target))
-        } else if can_use_lld
-            && self.config.use_lld
-            && target.contains("pc-windows-msvc")
-            && self.build == target
-        {
+        } else if can_use_lld && self.config.use_lld && self.build == target {
             Some(&self.initial_lld)
         } else {
             None