!7 add -fsign-char for aarch64 for test-localeconv

From: @zou_lin77
Reviewed-by: @overweight
Signed-off-by: @overweight
This commit is contained in:
openeuler-ci-bot 2021-03-25 15:26:58 +08:00 committed by Gitee
commit 6089fda02c

View File

@ -1,6 +1,6 @@
Name: diffutils
Version: 3.7
Release: 3
Release: 4
Summary: A GNU collection of diff utilities
URL: http://www.gnu.org/software/diffutils/diffutils.html
Source: ftp://ftp.gnu.org/gnu/diffutils/diffutils-%{version}.tar.xz
@ -26,6 +26,9 @@ GNU Diffutils is a package of several programs related to finding differences be
autoreconf -ifv
%build
%ifarch aarch64
CFLAGS="$RPM_OPT_FLAGS -fsigned-char"
%endif
%configure
make PR_PROGRAM=%{_bindir}/pr
@ -51,6 +54,12 @@ cat tests/test-suite.log
%exclude %{_infodir}/dir
%changelog
* Wed Mar 24 2021 zoulin<zoulin13@huawei.com> 3.7-4
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:add -fsign-char for aarch64 for test-localeconv
* Mon Nov 11 2019 shenyangyang<shenyangyang4@huawei.com> 3.7-3
- Type:enhancement
- ID:NA