diff --git a/lldb.spec b/lldb.spec index 5dc92ee26e2593c438ad8f1b928aab6a8a1f5a91..a81dfbc9e2fad1def2c6d9cb109e4a06b85638e7 100644 --- a/lldb.spec +++ b/lldb.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 %global toolchain clang %undefine _include_frame_pointers @@ -61,6 +61,10 @@ The %{name}-doc package contains documentation files for %{name}. %build %ifarch riscv64 %global _lto_cflags %{nil} +export CFLAGS=$(echo "$CFLAGS" | \ + sed 's/-Wno-error=return-mismatch//g' | \ + sed 's/-Wno-error=declaration-missing-parameter-type//g' \ +) %else %global _lto_cflags -flto=thin %endif @@ -123,6 +127,9 @@ rm -f %{buildroot}%{python3_sitearch}/six.* %doc CODE_OWNERS.txt %changelog +* Thu Oct 28 2025 Ruidong Tian - 17.0.6-3 +- drop error flag + * Thu May 8 2025 Yihao Yan - 17.0.6-2 - add support for riscv64