Skip to content

Commit

Permalink
Fix LLD thread flag selection for Windows targets
Browse files Browse the repository at this point in the history
  • Loading branch information
Kobzol committed Dec 13, 2023
1 parent c520851 commit 066e6ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/src/utils/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
));
}
}
Expand Down

0 comments on commit 066e6ff

Please sign in to comment.