From ba45f68cfaa315c44e0290e0385a1592d9b22c80 Mon Sep 17 00:00:00 2001 From: zhuyunfei Date: Fri, 7 Mar 2025 09:47:09 +0800 Subject: [PATCH] Add sw_64 arch support project:TC2024110202 Signed-off-by: zhuyunfei --- 0001-Add-sw_64-arch-support.patch | 40 +++++++++++++++++++++++++++++++ automake.spec | 9 +++++-- 2 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 0001-Add-sw_64-arch-support.patch diff --git a/0001-Add-sw_64-arch-support.patch b/0001-Add-sw_64-arch-support.patch new file mode 100644 index 0000000..08f68f3 --- /dev/null +++ b/0001-Add-sw_64-arch-support.patch @@ -0,0 +1,40 @@ +From 5657f292fcb86812872164aaf5ee40c153446845 Mon Sep 17 00:00:00 2001 +From: zhuyunfei +Date: Fri, 7 Mar 2025 09:39:00 +0800 +Subject: [PATCH] Add sw_64 arch support project:TC2024110202 + +Signed-off-by: zhuyunfei +--- + lib/config.guess | 3 +++ + lib/config.sub | 1 + + 2 files changed, 4 insertions(+) + +diff --git a/lib/config.guess b/lib/config.guess +index e81d3ae..eb0d6bc 100755 +--- a/lib/config.guess ++++ b/lib/config.guess +@@ -1140,6 +1140,9 @@ EOF + sparc:Linux:*:* | sparc64:Linux:*:*) + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; ++ sw_64*:Linux:*:*) ++ GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ++ ;; + tile*:Linux:*:*) + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; +diff --git a/lib/config.sub b/lib/config.sub +index d74fb6d..62025e3 100755 +--- a/lib/config.sub ++++ b/lib/config.sub +@@ -1261,6 +1261,7 @@ case $cpu-$vendor in + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet \ + | sparclite \ + | sparcv8 | sparcv9 | sparcv9b | sparcv9v | sv1 | sx* \ ++ | sw_64 \ + | spu \ + | tahoe \ + | thumbv7* \ +-- +2.41.0 + diff --git a/automake.spec b/automake.spec index 4dca3c5..fdcd88a 100644 --- a/automake.spec +++ b/automake.spec @@ -1,4 +1,4 @@ -%define anolis_release 3 +%define anolis_release 4 # perform 'make check' by default %bcond_without check @@ -13,6 +13,8 @@ License: GPLv2+ and GFDL and Public Domain and MIT URL: http://www.gnu.org/software/automake/ Source0: ftp://ftp.gnu.org/gnu/automake/automake-%{version}.tar.xz +Patch0001: 0001-Add-sw_64-arch-support.patch + BuildRequires: autoconf BuildRequires: coreutils BuildRequires: findutils @@ -107,6 +109,9 @@ make install DESTDIR=%{buildroot} %doc AUTHORS README THANKS NEWS README.aclocal README.multilib %changelog +* Fri Mar 7 2025 zhuyunfei - 1.16.5-4 +- Add sw_64 arch support + * Mon Jan 16 2023 yuanhui - 1.16.5-3 - add doc package and abi files @@ -114,4 +119,4 @@ make install DESTDIR=%{buildroot} - Add requires because requirements not detected automatically * Fri May 20 2022 Su Lifan - 1.16.5-1 -- Initial packaging for Anolis OS 23 \ No newline at end of file +- Initial packaging for Anolis OS 23 -- Gitee