Fix LLD thread flag selection for Windows targets
This commit is contained in:
parent
c5208518fa
commit
066e6ffa02
@ -519,7 +519,7 @@ pub fn linker_flags(
|
||||
if matches!(lld_threads, LldThreads::No) {
|
||||
args.push(format!(
|
||||
"-Clink-arg=-Wl,{}",
|
||||
lld_flag_no_threads(builder.config.lld_mode, target.is_msvc())
|
||||
lld_flag_no_threads(builder.config.lld_mode, target.is_windows())
|
||||
));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user