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, 4 Dec 2024 17:07:54 +0000 (18:07 +0100)
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 e975102e2389abb779a72588425a15ef812a31b1..9876a4f11b75209fe8412304c22404d69113423d 100644 (file)
@@ -40,6 +40,8 @@ pub(crate) fn opts() -> TargetOptions {
         "-lmingwex",
         "-luser32",
         "-lkernel32",
+        "-lssp_nonshared",
+        "-lssp",
     ];
     let mut late_link_args =
         TargetOptions::link_args(LinkerFlavor::Gnu(Cc::No, Lld::No), mingw_libs);