Use RPM_LD_FLAGS
This commit is contained in:
parent
1a7562dd84
commit
f1611a2293
@ -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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user