Fix the hardened build flags

This commit is contained in:
Petr Šabata 2013-07-02 15:19:18 +02:00
parent 20798d8c32
commit fb503aeed0

View File

@ -3,7 +3,7 @@
Name: lldpad
Version: 0.9.46
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Intel LLDP Agent
Group: System Environment/Daemons
License: GPLv2
@ -45,6 +45,8 @@ that use %{name}.
%build
./bootstrap.sh
%configure --disable-static
# fix the hardened build flags
sed -i -e 's! \\\$compiler_flags !&\\\$CFLAGS \\\$LDFLAGS !' libtool
make %{?_smp_mflags}
%install
@ -100,6 +102,9 @@ fi
%{_libdir}/liblldp_clif.so
%changelog
* Tue Jul 02 2013 Petr Šabata <contyk@redhat.com> - 0.9.46-2
- Fix the hardened build flags
* Tue Jun 04 2013 Petr Šabata <contyk@redhat.com> - 0.9.46-1
- 0.9.46 bump
- 802.1Qaz fixes to enable support on not CEE DCBX-enabled hardware