diff --git a/lldb.spec b/lldb.spec index abd48d1..7971e91 100644 --- a/lldb.spec +++ b/lldb.spec @@ -10,7 +10,7 @@ Name: lldb Version: %{lldb_version}%{?rc_ver:~rc%{rc_ver}} -Release: 1%{?dist} +Release: 1.0.riscv64%{?dist} Summary: Next generation high-performance debugger License: Apache-2.0 WITH LLVM-exception OR NCSA @@ -71,7 +71,11 @@ The package contains the LLDB Python module. %autosetup -n %{lldb_srcdir} -p2 %build +%ifnarch riscv64 %global _lto_cflags -flto=thin +%else +%global _lto_cflags %{nil} +%endif %cmake -GNinja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ @@ -134,6 +138,9 @@ rm -f %{buildroot}%{python3_sitearch}/six.* %{python3_sitearch}/lldb %changelog +* Thu Mar 28 2024 David Abdurachmanov - 18.1.1-1.0.riscv64 +- Disable LTO on riscv64 + * Tue Mar 12 2024 Tom Stellard - 18.1.1-1 - 18.1.1 Release