diff --git a/lldb.spec b/lldb.spec index dbb74ba..e3ef0f4 100644 --- a/lldb.spec +++ b/lldb.spec @@ -5,7 +5,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: NCSA @@ -64,7 +64,11 @@ The package contains the LLDB Python module. %autosetup -n %{lldb_srcdir} -p2 %build +%ifarch riscv64 +%global _lto_cflags %{nil} +%else %global _lto_cflags -flto=thin +%endif %cmake -GNinja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ @@ -126,6 +130,9 @@ rm -f %{buildroot}%{python3_sitearch}/six.* %{python3_sitearch}/lldb %changelog +* Sun Nov 27 2022 David Abdurachmanov - 15.0.4-1.0.riscv64 +- Disable LTO on riscv64 + * Wed Nov 09 2022 Nikita Popov - 15.0.4-1 - Update to LLVM 15.0.4