Drop now unnecessary debug flags patch.

Rpm %optflags always include -g, and as the optflags are getting passed
to the build since commit fe6107da05, this
is no longer needed.
This commit is contained in:
Panu Matilainen 2015-01-28 09:49:40 +02:00
parent 4821395c6a
commit ec727d4980
2 changed files with 1 additions and 11 deletions

View File

@ -1,9 +0,0 @@
diff -up ./mk/rte.vars.mk.orig ./mk/rte.vars.mk
--- ./mk/rte.vars.mk.orig 2014-06-30 11:24:24.379944369 -0400
+++ ./mk/rte.vars.mk 2014-06-30 11:24:34.544237841 -0400
@@ -138,3 +138,5 @@ include $(RTE_SDK)/mk/target/$(RTE_TARGE
else
include $(RTE_SDK)/mk/target/generic/rte.vars.mk
endif
+
+CFLAGS+=-g

View File

@ -4,7 +4,6 @@ Release: 6%{?dist}
URL: http://dpdk.org
Source: http://dpdk.org/browse/dpdk/snapshot/dpdk-%{version}.tar.gz
Patch0: dpdk-debug.patch
Patch1: dpdk-config.patch
@ -56,7 +55,6 @@ API programming documentation for the Data Plane Development Kit.
%prep
%setup -q
%patch0 -p1 -z .debug
%patch1 -p1 -z .config
%build
@ -139,6 +137,7 @@ find %{buildroot}%{_includedir}/%{name}-%{version} -type f | xargs chmod 0644
%changelog
* Wed Jan 27 2015 Panu Matilainen <pmatilai@redhat.com> - 1.7.0-6
- Avoid variable expansion in the spec here-documents during build
- Drop now unnecessary debug flags patch
* Tue Jan 27 2015 Panu Matilainen <pmatilai@redhat.com> - 1.7.0-5
- Avoid unnecessary use of %%global, lazy expansion is normally better