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>
Mon, 15 Jan 2024 07:16:35 +0000 (08:16 +0100)
Bug: https://github.com/rust-lang/rust/issues/68973

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

compiler/rustc_target/src/spec/windows_gnu_base.rs

index 2231983f071262889399f88cec67c2a6e21ef65c..2cb115e37f2af80578bb30f346abcb64662fec49 100644 (file)
@@ -41,6 +41,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);