From 030feeb8687c8efa8ad5910c98f7bb95432e9141 Mon Sep 17 00:00:00 2001 From: winterddd Date: Tue, 28 Oct 2025 17:14:39 +0800 Subject: [PATCH] drop error flags Signed-off-by: winterddd --- lldb.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lldb.spec b/lldb.spec index 5dc92ee..a81dfbc 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 -- Gitee