!92 [sync] PR-88: fix build error for loongarch64

From: @openeuler-sync-bot 
Reviewed-by: @ship_harbour 
Signed-off-by: @ship_harbour
This commit is contained in:
openeuler-ci-bot 2023-03-17 08:19:04 +00:00 committed by Gitee
commit 6f00e3070b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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