From a1ffdc93d6703dcb8e90be6cccfd0852ea408167 Mon Sep 17 00:00:00 2001 From: zou_lin77 <422351577@qq.com> Date: Wed, 24 Mar 2021 15:47:55 +0800 Subject: [PATCH] add -fsign-char for aarch64 for test-localeconv --- coreutils.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/coreutils.spec b/coreutils.spec index 447f105..c06673a 100644 --- a/coreutils.spec +++ b/coreutils.spec @@ -1,6 +1,6 @@ Name: coreutils Version: 8.32 -Release: 3 +Release: 4 License: GPLv3+ Summary: A set of basic GNU tools commonly used in shell scripts Url: https://www.gnu.org/software/coreutils/ @@ -78,7 +78,7 @@ autoreconf -fiv if [ %user = root ]; then export FORCE_UNSAFE_CONFIGURE=1 fi -export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fpic" +export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fpic -fsigned-char" %{expand:%%global optflags %{optflags} -D_GNU_SOURCE=1} mkdir separate && \ (cd separate && ln -s ../configure || exit 1 @@ -137,6 +137,9 @@ fi %{_mandir}/man*/* %changelog +* Wed Mar 24 2021 zoulin - 8.32-4 +- add -fsign-char for aarch64 for test-localeconv + * Mon Jan 11 2021 wangchen - 8.32-3 - backport patches from upstream -- Gitee