From a618c205c7916ca1e4cdae619458f05202580ce8 Mon Sep 17 00:00:00 2001 From: zhangwenlong Date: Fri, 27 Aug 2021 03:08:48 -0400 Subject: [PATCH] build: support loongarch64 Signed-off-by: zhangwenlong --- coreutils.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/coreutils.spec b/coreutils.spec index 493fc1f..cba5803 100644 --- a/coreutils.spec +++ b/coreutils.spec @@ -1,7 +1,8 @@ +%define anolis_release .0.1 Summary: A set of basic GNU tools commonly used in shell scripts Name: coreutils Version: 8.30 -Release: 12%{?dist} +Release: 12%{anolis_release}%{?dist} License: GPLv3+ Group: System Environment/Base Url: https://www.gnu.org/software/coreutils/ @@ -196,6 +197,9 @@ for type in separate single; do --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} @@ -286,6 +290,9 @@ fi %license COPYING %changelog +* Wed Aug 11 2021 zhangwenlong - 8.30-12.0.1 +- Add FORCE_UNSAFE_CONFIGURE=1 for loongarch64 + * Wed Jul 07 2021 Kamil Dudka - 8.30-12 - df: fix duplicated remote entries due to bind mounts (#1962515) -- Gitee