代码拉取完成,页面将自动刷新
同步操作将从 src-anolis-os/coreutils 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
diff -Nuar coreutils-8.30.org/configure coreutils-8.30.sw/configure
--- coreutils-8.30.org/configure 2023-08-08 20:07:32.495829627 +0800
+++ coreutils-8.30.sw/configure 2023-08-08 20:08:07.293053826 +0800
@@ -7318,6 +7318,13 @@
# (according to the test results of Bruno Haible's ieeefp/fenv_default.m4
# and the GCC 4.1.2 manual).
case "$host_cpu" in
+ sw_64*)
+ if test -n "$GCC"; then
+ CPPFLAGS="$CPPFLAGS -mieee"
+ else
+ CPPFLAGS="$CPPFLAGS -ieee"
+ fi
+ ;;
alpha*)
# On Alpha systems, a compiler option provides the behaviour.
# See the ieee(3) manual page, also available at
@@ -15245,6 +15252,9 @@
alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] )
gl_cv_host_cpu_c_abi=alpha
;;
+ sw_64* )
+ gl_cv_host_cpu_c_abi=sw_64
+ ;;
arm* | aarch64 )
# Assume arm with EABI.
diff -Nuar coreutils-8.30.org/lib/uname.c coreutils-8.30.sw/lib/uname.c
--- coreutils-8.30.org/lib/uname.c 2023-08-08 20:07:32.524830648 +0800
+++ coreutils-8.30.sw/lib/uname.c 2023-08-08 20:08:07.294053862 +0800
@@ -222,6 +222,10 @@
case PROCESSOR_ARCHITECTURE_MIPS:
strcpy (buf->machine, "mips");
break;
+ case PROCESSOR_ARCHITECTURE_SW_64:
+ case PROCESSOR_ARCHITECTURE_SW_6464:
+ strcpy (buf->machine, "sw_64");
+ break;
case PROCESSOR_ARCHITECTURE_ALPHA:
case PROCESSOR_ARCHITECTURE_ALPHA64:
strcpy (buf->machine, "alpha");
diff -Nuar coreutils-8.30.org/m4/fpieee.m4 coreutils-8.30.sw/m4/fpieee.m4
--- coreutils-8.30.org/m4/fpieee.m4 2023-08-08 20:07:32.430827340 +0800
+++ coreutils-8.30.sw/m4/fpieee.m4 2023-08-08 20:08:07.295053897 +0800
@@ -30,6 +30,11 @@
# (according to the test results of Bruno Haible's ieeefp/fenv_default.m4
# and the GCC 4.1.2 manual).
case "$host_cpu" in
+ sw_64*)
+ if test -n "$GCC"; then
+ CPPFLAGS="$CPPFLAGS -mieee"
+ fi
+ ;;
alpha*)
# On Alpha systems, a compiler option provides the behaviour.
# See the ieee(3) manual page, also available at
diff -Nuar coreutils-8.30.org/m4/host-cpu-c-abi.m4 coreutils-8.30.sw/m4/host-cpu-c-abi.m4
--- coreutils-8.30.org/m4/host-cpu-c-abi.m4 2023-08-08 20:07:32.424827128 +0800
+++ coreutils-8.30.sw/m4/host-cpu-c-abi.m4 2023-08-08 20:08:07.295053897 +0800
@@ -91,6 +91,12 @@
;;
changequote(,)dnl
+ sw_64 )
+changequote([,])dnl
+ gl_cv_host_cpu_c_abi=sw_64
+ ;;
+
+changequote(,)dnl
alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] )
changequote([,])dnl
gl_cv_host_cpu_c_abi=alpha
@@ -355,6 +361,9 @@
#ifndef __x86_64__
#undef __x86_64__
#endif
+#ifndef __sw_64__
+#undef __sw_64__
+#endif
#ifndef __alpha__
#undef __alpha__
#endif
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。