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" \