Don't use a whitelist for use_lld

This commit is contained in:
John Kåre Alsaker 2020-01-29 18:05:26 +01:00
parent 95318f8d85
commit 2124a85260

View file

@ -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