diff --git a/lldb.spec b/lldb.spec index 1e1ec5f3f1e807a7d72c8e0a46849649cd78f9c9..5dc92ee26e2593c438ad8f1b928aab6a8a1f5a91 100644 --- a/lldb.spec +++ b/lldb.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 %global toolchain clang %undefine _include_frame_pointers @@ -59,7 +59,11 @@ The %{name}-doc package contains documentation files for %{name}. %autosetup -n %{name}-%{version}.src -p2 %build +%ifarch riscv64 +%global _lto_cflags %{nil} +%else %global _lto_cflags -flto=thin +%endif %cmake -GNinja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ @@ -119,6 +123,9 @@ rm -f %{buildroot}%{python3_sitearch}/six.* %doc CODE_OWNERS.txt %changelog +* Thu May 8 2025 Yihao Yan - 17.0.6-2 +- add support for riscv64 + * Wed Mar 27 2024 Xiaoping Liu - 17.0.6-1 - update to 17.0.6