diff --git a/volk.changes b/volk.changes index df157f3..54d4bf2 100644 --- a/volk.changes +++ b/volk.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 10 15:36:23 UTC 2025 - Andreas Schwab + +- Disable LTO on riscv64 + ------------------------------------------------------------------- Tue Feb 4 00:25:00 UTC 2025 - Wojciech Kazubski diff --git a/volk.spec b/volk.spec index ab523ad..c361869 100644 --- a/volk.spec +++ b/volk.spec @@ -70,6 +70,11 @@ Group: Development/Tools/Other This package provides volk_modtool, used for creating new VOLK kernels. +%ifarch riscv64 +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812 +%global _lto_cflags %{nil} +%endif + %prep %autosetup