!646 [sync] PR-645: disable _lto_cflags to fix build failed

From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
This commit is contained in:
openeuler-ci-bot 2024-10-09 13:42:56 +00:00 committed by Gitee
commit abe69b4cc3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <jiangheng14@huawei.com> - 23.11-21
- disable _lto_cflags to fix build failed
* Tue Aug 20 2024 jiangheng <jiangheng14@huawei.com> - 23.11-20
- add static library
- remove unused requires/buildrequires