From e3765bc9b3078e459bcd800a9148195b384f6f78 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 8 Mar 2015 09:26:50 +0100 Subject: [PATCH] etc/defaults.conf: apply full relro completely via LDFLAGS. --- etc/defaults.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/defaults.conf b/etc/defaults.conf index d6f2f477a63..12d6451e160 100644 --- a/etc/defaults.conf +++ b/etc/defaults.conf @@ -33,7 +33,7 @@ XBPS_CPPFLAGS="-D_FORTIFY_SOURCE=2" # avoid linking extra libraries into binaries. See the following link # for info: http://www.gentoo.org/proj/en/qa/asneeded.xml # -XBPS_LDFLAGS="-Wl,--as-needed -Wl,-z,relro" +XBPS_LDFLAGS="-Wl,--as-needed -Wl,-z,relro,-z,now" # [REQUIRED] # Command to execute to gain root privileges when using the `update-sys`