]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
redhat: enable some CFLAGS
authorVincent Bernat <vincent@bernat.im>
Sat, 20 Feb 2016 17:59:55 +0000 (18:59 +0100)
committerVincent Bernat <vincent@bernat.im>
Sat, 20 Feb 2016 17:59:55 +0000 (18:59 +0100)
redhat/lldpd.spec

index 216080654bd684fe1fecf89e5744d36c46ee5662..6c89a573cc6526c34da5bdd0986b397c7320b50f 100644 (file)
@@ -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}