disable _lto_cflags to fix build failed

(cherry picked from commit f4e9cdea415ec1cfbb614e692e54668801c9c0e6)
This commit is contained in:
jiangheng 2024-10-08 22:51:42 +08:00 committed by openeuler-sync-bot
parent 3294e438b4
commit 7ca1f97a98

View File

@ -1,3 +1,4 @@
%define _lto_cflags %{nil}
# Add option to build as static libraries (--without shared) # Add option to build as static libraries (--without shared)
%bcond_without shared %bcond_without shared
# Add option to build without examples # Add option to build without examples
@ -10,7 +11,7 @@
Name: dpdk Name: dpdk
Version: 23.11 Version: 23.11
Release: 20 Release: 21
URL: http://dpdk.org URL: http://dpdk.org
Source: https://fast.dpdk.org/rel/dpdk-%{version}.tar.xz 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 %endif
%changelog %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 * Tue Aug 20 2024 jiangheng <jiangheng14@huawei.com> - 23.11-20
- add static library - add static library
- remove unused requires/buildrequires - remove unused requires/buildrequires