added full relro.

This commit is contained in:
Jan Safranek 2012-11-29 10:08:39 +01:00
parent d84658eaf1
commit 0063b86818

View File

@ -217,6 +217,7 @@ MIBS="$MIBS ucd-snmp/lmsensorsMib"
%configure \ %configure \
--disable-static --enable-shared \ --disable-static --enable-shared \
--with-cflags="$RPM_OPT_FLAGS -D_RPM_4_4_COMPAT" \ --with-cflags="$RPM_OPT_FLAGS -D_RPM_4_4_COMPAT" \
--with-ldflags="-Wl,-z,relro -Wl,-z,now" \
--with-sys-location="Unknown" \ --with-sys-location="Unknown" \
--with-logfile="/var/log/snmpd.log" \ --with-logfile="/var/log/snmpd.log" \
--with-persistent-directory="/var/lib/net-snmp" \ --with-persistent-directory="/var/lib/net-snmp" \