From 5a5513354983e868bf38134d64c1b7055cc0cb30 Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Thu, 9 Feb 2023 09:00:09 +0800 Subject: [PATCH] fix build error for loongarch64 --- coreutils.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/coreutils.spec b/coreutils.spec index 26e574a..d903e98 100644 --- a/coreutils.spec +++ b/coreutils.spec @@ -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 - 9.0-7 +- fix build error for loongarch64 + * Wed Oct 19 2022 wuzx - 9.0-6 - add sw64 patch -- Gitee