]> git.proxmox.com Git - rustc.git/blame - debian/patches/d-windows-ssp.patch
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / debian / patches / d-windows-ssp.patch
CommitLineData
58af92ad 1Bug: https://github.com/rust-lang/rust/issues/68973
27da05fd 2
cefde48f
XL
3--- a/compiler/rustc_target/src/spec/windows_gnu_base.rs
4+++ b/compiler/rustc_target/src/spec/windows_gnu_base.rs
5@@ -38,6 +38,8 @@
6301fb50
XL
6 "-lmsvcrt".to_string(),
7 "-luser32".to_string(),
8 "-lkernel32".to_string(),
9+ "-lssp_nonshared".to_string(),
10+ "-lssp".to_string(),
11 ];
12 late_link_args.insert(LinkerFlavor::Gcc, mingw_libs.clone());
13 late_link_args.insert(LinkerFlavor::Lld(LldFlavor::Ld), mingw_libs);