From f1611a22932776b80dda858fd8bf249a616d9189 Mon Sep 17 00:00:00 2001 From: Josef Ridky Date: Thu, 29 Nov 2018 16:26:34 +0100 Subject: [PATCH] Use RPM_LD_FLAGS --- net-snmp.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-snmp.spec b/net-snmp.spec index 51a223f..32c7b51 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -244,7 +244,7 @@ MIBS="$MIBS ucd-snmp/lmsensorsMib" --enable-ucd-snmp-compatibility \ --sysconfdir=%{_sysconfdir} \ --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-mib-modules="$MIBS" \ --with-mysql \