Re-enable LTO

This commit is contained in:
Jeff Law 2020-09-01 09:12:14 -06:00
parent b341f889f9
commit 23957dc84d

View File

@ -9,7 +9,7 @@
Name: dpdk
Version: 19.11.3
Release: 1%{?dist}
Release: 2%{?dist}
Epoch: 2
URL: http://dpdk.org
Source: https://fast.dpdk.org/rel/dpdk-%{version}.tar.xz
@ -156,11 +156,6 @@ 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() {
@ -359,6 +354,9 @@ sed -i -e 's:-%{machine_tmpl}-:-%{machine}-:g' %{buildroot}/%{_sysconfdir}/profi
%endif
%changelog
* Tue Sep 01 2020 Jeff Law <law@redhat.com> - 2:19.11.3-2
- Re-enable LTO
* Tue Sep 01 2020 Timothy Redaelli <tredaelli@redhat.com> - 2:19.11.3-1
- Update to latest 19.11 LTS (bz1874499)