diff --git a/xdp-tools.spec b/xdp-tools.spec index 5b20d7d..c50b404 100644 --- a/xdp-tools.spec +++ b/xdp-tools.spec @@ -1,6 +1,6 @@ Name: xdp-tools Version: 1.3.1 -Release: 1%{?dist} +Release: 1.0.riscv64%{?dist} Summary: Utilities and example programs for use with XDP %global _soversion 1.3.0 @@ -26,6 +26,10 @@ BuildRequires: wireshark-cli BuildRequires: bpftool %endif +%ifarch riscv64 +%global _lto_cflags %{nil} +%endif + # Always keep xdp-tools and libxdp packages in sync Requires: libxdp = %{version}-%{release} @@ -122,6 +126,9 @@ make install V=1 %{_libdir}/pkgconfig/libxdp.pc %changelog +* Wed May 10 2023 David Abdurachmanov 1.3.1-1.0.riscv64 +- Disable LTO on riscv64 + * Thu Feb 23 2023 Toke Høiland-Jørgensen 1.3.1-1 - Upstream version bump