From 6f2ced066f3096757178605517d5e6cf7b34a367 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 20 Feb 2016 18:59:55 +0100 Subject: [PATCH] redhat: enable some CFLAGS --- redhat/lldpd.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/redhat/lldpd.spec b/redhat/lldpd.spec index 21608065..6c89a573 100644 --- a/redhat/lldpd.spec +++ b/redhat/lldpd.spec @@ -189,7 +189,8 @@ to adjacent network devices. --sysconfdir=%{_sysconfdir} \ --libdir=%{_libdir} \ --docdir=%{_docdir}/lldpd \ - --enable-pie + --enable-pie \ + CFLAGS="$RPM_OPT_FLAGS" [ -f %{_includedir}/net-snmp/agent/struct.h ] || touch src/struct.h make %{?_smp_mflags} -- 2.39.5