From: Vincent Bernat Date: Sat, 20 Feb 2016 17:59:55 +0000 (+0100) Subject: redhat: enable some CFLAGS X-Git-Tag: 0.9.2~57 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6f2ced066f3096757178605517d5e6cf7b34a367;p=thirdparty%2Flldpd.git redhat: enable some CFLAGS --- 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}