Fix LLD thread flag selection for Windows targets
This commit is contained in:
parent
c5208518fa
commit
066e6ffa02
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue