From f4e9cdea415ec1cfbb614e692e54668801c9c0e6 Mon Sep 17 00:00:00 2001 From: jiangheng Date: Tue, 8 Oct 2024 22:51:42 +0800 Subject: [PATCH] disable _lto_cflags to fix build failed --- dpdk.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dpdk.spec b/dpdk.spec index 1f81f20..46137bf 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -1,3 +1,4 @@ +%define _lto_cflags %{nil} # Add option to build as static libraries (--without shared) %bcond_without shared # Add option to build without examples @@ -10,7 +11,7 @@ Name: dpdk Version: 23.11 -Release: 20 +Release: 21 URL: http://dpdk.org Source: https://fast.dpdk.org/rel/dpdk-%{version}.tar.xz @@ -260,6 +261,9 @@ strip -g $RPM_BUILD_ROOT/lib/modules/%{kern_devel_ver}/extra/dpdk/igb_uio.ko %endif %changelog +* Wed Oct 09 2024 jiangheng - 23.11-21 + - disable _lto_cflags to fix build failed + * Tue Aug 20 2024 jiangheng - 23.11-20 - add static library - remove unused requires/buildrequires -- Gitee