Drop no longer needed -Wno-error=array-bounds from CFLAGS

This commit is contained in:
Panu Matilainen 2016-03-01 15:43:29 +02:00
parent 847f834b03
commit e0841ab3ef

View File

@ -142,9 +142,7 @@ function setconf() {
# In case dpdk-devel is installed, we should ignore its hints about the SDK directories
unset RTE_SDK RTE_INCLUDE RTE_TARGET
# For the release, '-Wno-error=array-bounds' is done to prevent a spurious error
# generated by gcc 5.X against the 2.1 branch
export EXTRA_CFLAGS="%{optflags} -Wformat -fPIC -Wno-error=array-bounds"
export EXTRA_CFLAGS="%{optflags} -Wformat -fPIC"
# DPDK defaults to using builder-specific compiler flags. However,
# the config has been changed by specifying CONFIG_RTE_MACHINE=default
@ -294,6 +292,7 @@ install -m 644 ${comblib} %{buildroot}/%{_libdir}/${comblib}
%changelog
* Tue Mar 01 2016 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-6
- Drop no longer needed bnx2x patch, the gcc false positive has been fixed
- Drop no longer needed -Wno-error=array-bounds from CFLAGS
* Mon Feb 15 2016 Neil Horman <nhorman@redhat.com> 2.2.0-5
- Fix ftbfs isssue (1307431)