d-rustc-windows-ssp
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Wed, 19 Jun 2024 05:51:49 +0000 (07:51 +0200)
Bug: https://github.com/rust-lang/rust/issues/68973

Gbp-Pq: Topic behaviour
Gbp-Pq: Name d-rustc-windows-ssp.patch

compiler/rustc_target/src/spec/base/windows_gnu.rs

index 25f02dc145193b8043058053ef8c2b95deaae1bd..402bb29f23e2b2f42065e216abc2ada0dacfe2ff 100644 (file)
@@ -42,6 +42,8 @@ pub fn opts() -> TargetOptions {
         "-lmsvcrt",
         "-luser32",
         "-lkernel32",
+        "-lssp_nonshared",
+        "-lssp",
     ];
     let mut late_link_args =
         TargetOptions::link_args(LinkerFlavor::Gnu(Cc::No, Lld::No), mingw_libs);