From ce122da9b6146af34a5224453f61ca60f2451b8c Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 1 Jul 2020 15:49:11 -0600 Subject: [PATCH] Disable LTO --- dpdk.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/dpdk.spec b/dpdk.spec index ee89abd..c7b7bf8 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -9,7 +9,7 @@ Name: dpdk Version: 19.11.1 -Release: 5%{?dist} +Release: 6%{?dist} Epoch: 2 URL: http://dpdk.org Source: https://fast.dpdk.org/rel/dpdk-%{version}.tar.xz @@ -156,6 +156,11 @@ end %patch3 -p1 %build +# This package currently fails to build with LTO, but enabling LTO support +# is under development upstream. This should be revisited if/when this +# package is rebased +%define _lto_cflags %{nil} + %set_build_flags # set up a method for modifying the resulting .config file function setconf() { @@ -354,6 +359,9 @@ sed -i -e 's:-%{machine_tmpl}-:-%{machine}-:g' %{buildroot}/%{_sysconfdir}/profi %endif %changelog +* Wed Jul 01 2020 Jeff Law - 2:19.11.1-6 +- Disable LTO + * Tue Jun 23 2020 Timothy Redaelli - 2:19.11.1-5 - Fix missing Requires for dpdk-devel (bz1843590)