Use RPM_LD_FLAGS

This commit is contained in:
Josef Ridky 2018-11-29 16:26:34 +01:00
parent 1a7562dd84
commit f1611a2293

View File

@ -244,7 +244,7 @@ MIBS="$MIBS ucd-snmp/lmsensorsMib"
--enable-ucd-snmp-compatibility \ --enable-ucd-snmp-compatibility \
--sysconfdir=%{_sysconfdir} \ --sysconfdir=%{_sysconfdir} \
--with-cflags="$RPM_OPT_FLAGS -D_RPM_4_4_COMPAT -fPIE" \ --with-cflags="$RPM_OPT_FLAGS -D_RPM_4_4_COMPAT -fPIE" \
--with-ldflags="-Wl,-z,relro -Wl,-z,now" \ --with-ldflags="$RPM_LD_FLAGS" \
--with-logfile="/var/log/snmpd.log" \ --with-logfile="/var/log/snmpd.log" \
--with-mib-modules="$MIBS" \ --with-mib-modules="$MIBS" \
--with-mysql \ --with-mysql \