From 8504862e686c6648c43839f5d734aa786a288034 Mon Sep 17 00:00:00 2001 From: Timothy Redaelli Date: Mon, 4 Nov 2019 12:14:57 +0100 Subject: [PATCH] Pass the correct LDFLAGS to host apps (dpdk-pmdinfogen) too Resolves: #1768405 --- dpdk.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dpdk.spec b/dpdk.spec index 433a8c2..a772c34 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -9,7 +9,7 @@ Name: dpdk Version: 18.11.2 -Release: 4%{?dist} +Release: 5%{?dist} Epoch: 2 URL: http://dpdk.org Source: https://fast.dpdk.org/rel/dpdk-%{version}.tar.xz @@ -165,7 +165,7 @@ export EXTRA_CFLAGS="$EXTRA_CFLAGS -fcf-protection=full" %endif export EXTRA_LDFLAGS=$(echo %{__global_ldflags} | sed -e's/-Wl,//g' -e's/-spec.*//') export HOST_EXTRA_CFLAGS="$EXTRA_CFLAGS $EXTRA_RPM_LDFLAGS" -export EXTRA_HOST_LDFLAGS=$(echo %{__global_ldflags} | sed -e's/-spec.*//') +export EXTRA_HOST_LDFLAGS="$EXTRA_RPM_LDFLAGS $(echo %{__global_ldflags} | sed -e's/-spec.*//')" # DPDK defaults to using builder-specific compiler flags. However, # the config has been changed by specifying CONFIG_RTE_MACHINE=default @@ -319,6 +319,9 @@ sed -i -e 's:-%{machine_tmpl}-:-%{machine}-:g' %{buildroot}/%{_sysconfdir}/profi %endif %changelog +* Mon Nov 04 2019 Timothy Redaelli - 2:18.11.2-5 +- Pass the correct LDFLAGS to host apps (dpdk-pmdinfogen) too (bz1768405) + * Wed Sep 11 2019 Than Ngo - 2:18.11.2-4 - Fix multilib issue, different outputs on different arches