From cd7779aeacc5523e8d15d5493edd3d3944499023 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Sat, 24 Feb 2018 17:38:12 +0100 Subject: [PATCH] First step of moving -z now to the gcc command line (#1548397) --- macros | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros b/macros index 1e42466..87b6815 100644 --- a/macros +++ b/macros @@ -189,7 +189,7 @@ %_hardening_cflags -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 # we don't escape symbols '~', '"', etc. so be careful when changing this -%_hardening_ldflags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld +%_hardening_ldflags -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld # Harden packages by default for Fedora 23: # https://fedorahosted.org/fesco/ticket/1384 (accepted on 2014-02-11)