From ac6a0ef60416b119765e5dee7c084258b36bbdbe Mon Sep 17 00:00:00 2001 From: "yan.yihao 10263201" Date: Thu, 16 Oct 2025 15:15:22 +0800 Subject: [PATCH] turning gcc errors back into warnings --- macros | 2 +- system-rpm-config.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/macros b/macros index b6ae6b9..c586ed0 100644 --- a/macros +++ b/macros @@ -59,7 +59,7 @@ # C compiler flags. This is traditionally called CFLAGS in makefiles. # Historically also available as %%{optflags}, and %%build sets the # environment variable RPM_OPT_FLAGS to this value. -%build_cflags %{optflags} +%build_cflags %{optflags} %[ "%{_arch}" == "riscv64" ? "-Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int" : "" ] # C++ compiler flags. This is traditionally called CXXFLAGS in makefiles. %build_cxxflags %{optflags} diff --git a/system-rpm-config.spec b/system-rpm-config.spec index 6b527eb..4fe18a7 100644 --- a/system-rpm-config.spec +++ b/system-rpm-config.spec @@ -1,4 +1,4 @@ -%define anolis_release 39 +%define anolis_release 40 Summary: Anolis OS specific rpm configuration files Name: system-rpm-config @@ -211,6 +211,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/anolis/srpm forge.lua %license MulanPSL %changelog +* Thu Oct 16 2025 Yihao Yan - 1:23-40 +- turning gcc errors back into warnings + * Tue Sep 23 2025 Yihao Yan - 1:23-39 - add RISC-V RVA23 options sync from https://gitee.com/src-anolis-os/gcc/pulls/67 -- Gitee