add -fsign-char for aarch64 for test-localeconv

This commit is contained in:
zou_lin77 2021-03-24 14:58:46 +08:00
parent e223abecc5
commit 686f8758f2

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