Fix LLD thread flag selection for Windows targets

This commit is contained in:
Jakub Beránek 2023-12-13 07:47:46 +01:00
parent c5208518fa
commit 066e6ffa02
No known key found for this signature in database
GPG key ID: 909CD0D26483516B

View file

@ -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())
));
}
}