From 0435963aef99e082023b3628f780908785083f4a Mon Sep 17 00:00:00 2001 From: Weisson Date: Mon, 24 Jun 2024 18:08:08 +0800 Subject: [PATCH] argument 'Werror' blocks the build process by gcc-10.3.1. Signed-off-by: Weisson --- libreport.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/libreport.spec b/libreport.spec index fcc86e7..96bd3ba 100644 --- a/libreport.spec +++ b/libreport.spec @@ -1,4 +1,4 @@ -%define anolis_release .0.3 +%define anolis_release .0.4 %if 0%{?suse_version} %bcond_with bugzilla @@ -406,7 +406,10 @@ data over ftp/scp... ./autogen.sh autoconf -CFLAGS="%{optflags} -Werror" %configure \ +%ifnarch sw_64 +CFLAGS="%{optflags} -Werror" \ +%endif +%configure \ %if %{without python2} --without-python2 \ %endif # with python2 @@ -874,6 +877,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %endif %changelog +* Mon Jun 24 2024 Weisson - 2.9.5-15.0.4 +- argument 'Werror' blocks the build process by gcc-10.3.1. + * Tue Nov 9 2022 happy_orange - 2.9.5-15.0.3 - remove the unwanted package in anaconda sub package -- Gitee