fix build error for loongarch64

(cherry picked from commit 5a5513354983e868bf38134d64c1b7055cc0cb30)
This commit is contained in:
Wenlong Zhang 2023-02-09 09:00:09 +08:00 committed by openeuler-sync-bot
parent fe3ce3f891
commit 1b65cd0f5f

View File

@ -1,6 +1,6 @@
Name: coreutils
Version: 9.0
Release: 6
Release: 7
License: GPLv3+
Summary: A set of basic GNU tools commonly used in shell scripts
Url: https://www.gnu.org/software/coreutils/
@ -91,6 +91,9 @@ mkdir separate && \
--enable-install-program=arch \
--enable-no-install-program=kill,uptime \
--with-tty-group \
%ifarch loongarch64
FORCE_UNSAFE_CONFIGURE=1 \
%endif
DEFAULT_POSIX2_VERSION=200112 alternative=199209 || :
make all %{?_smp_mflags}
@ -148,6 +151,9 @@ fi
%{_mandir}/man*/*
%changelog
* Thu Feb 9 2023 Wenlong Zhang<zhangwenlong@loongson.cn> - 9.0-7
- fix build error for loongarch64
* Wed Oct 19 2022 wuzx<wuzx1226@qq.com> - 9.0-6
- add sw64 patch