[net-snmp: 2/5] added full relro.

Jan Šafránek jsafrane at fedoraproject.org
Thu Jan 17 11:47:43 UTC 2013


commit 0063b868181bc6568c88e4d7b14f26403b5985cb
Author: Jan Safranek <jsafrane at redhat.com>
Date:   Thu Nov 29 10:08:39 2012 +0100

    added full relro.

 net-snmp.spec |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/net-snmp.spec b/net-snmp.spec
index e73b3b4..7815fdb 100644
--- a/net-snmp.spec
+++ b/net-snmp.spec
@@ -217,6 +217,7 @@ MIBS="$MIBS ucd-snmp/lmsensorsMib"
 %configure \
     --disable-static --enable-shared \
     --with-cflags="$RPM_OPT_FLAGS -D_RPM_4_4_COMPAT" \
+    --with-ldflags="-Wl,-z,relro -Wl,-z,now" \
     --with-sys-location="Unknown" \
     --with-logfile="/var/log/snmpd.log" \
     --with-persistent-directory="/var/lib/net-snmp" \


More information about the scm-commits mailing list