fix test_localeconv fail in aarch64 machine

This commit is contained in:
sxt1001 2021-03-19 10:32:59 +08:00
parent ece01d4043
commit c842905522

View File

@ -1,7 +1,7 @@
Name: findutils Name: findutils
Epoch: 2 Epoch: 2
Version: 4.7.0 Version: 4.7.0
Release: 6 Release: 7
Summary: The GNU Find Utilities Summary: The GNU Find Utilities
License: GPLv3+ License: GPLv3+
URL: http://www.gnu.org/software/findutils/ URL: http://www.gnu.org/software/findutils/
@ -43,6 +43,9 @@ xargs - build and execute command lines from standard input
autoreconf -fiv autoreconf -fiv
%build %build
%ifarch aarch64
CFLAGS="$RPM_OPT_FLAGS -fsigned-char"
%endif
%configure %configure
%make_build %make_build
@ -93,6 +96,12 @@ fi
%exclude %{_mandir}/man5/locatedb.5* %exclude %{_mandir}/man5/locatedb.5*
%changelog %changelog
* Fri Mar 19 2021 shixuantong <shixuantong@huawei.com> - 2:4.7.0-7
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix test_localeconv fail in aarch64 machine
* Thu Apr 23 2020 openEuler Buildteam <buildteam@openeuler.org> - 2:4.7.0-6 * Thu Apr 23 2020 openEuler Buildteam <buildteam@openeuler.org> - 2:4.7.0-6
- Type:bugfix - Type:bugfix
- ID:NA - ID:NA