diff --git a/add-sw_64-support.patch b/add-sw_64-support.patch new file mode 100644 index 0000000..a19e78b --- /dev/null +++ b/add-sw_64-support.patch @@ -0,0 +1,39 @@ +From 80ff97af5d5686e071816af16f65d98af5116238 Mon Sep 17 00:00:00 2001 +From: Hailiang +Date: Tue, 11 Mar 2025 13:43:07 +0800 +Subject: [PATCH] add sw_64 support + +--- + build-aux/config.guess | 3 +++ + build-aux/config.sub | 1 + + 2 files changed, 4 insertions(+) + +diff --git a/build-aux/config.guess b/build-aux/config.guess +index 48a6846..a5fa853 100755 +--- a/build-aux/config.guess ++++ b/build-aux/config.guess +@@ -1186,6 +1186,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/build-aux/config.sub b/build-aux/config.sub +index 4aaae46..ada8a42 100755 +--- a/build-aux/config.sub ++++ b/build-aux/config.sub +@@ -1432,6 +1432,7 @@ case $cpu-$vendor in + | spu \ + | sv1 \ + | sx* \ ++ | sw_64 \ + | tahoe \ + | thumbv7* \ + | tic30 \ +-- +2.20.1 + diff --git a/libtool.spec b/libtool.spec index 20fe70f..b509a98 100644 --- a/libtool.spec +++ b/libtool.spec @@ -3,7 +3,7 @@ Name: libtool Version: 2.5.4 -Release: 1 +Release: 2 License: GPL-2.0-or-later AND LGPL-2.0-or-later and GFDL-1.3-or-later Summary: The GNU Portable Library Tool URL: https://www.gnu.org/software/libtool/ @@ -11,6 +11,7 @@ Source0: https://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.xz Patch0: libtool-2.5.3-rpath.patch Patch1: libtool-2.4.6-disable-lto-link-order2.patch +Patch2: add-sw_64-support.patch Requires: gcc(major),autoconf, automake, sed, tar, findutils @@ -128,6 +129,9 @@ rm -f %{buildroot}%{_infodir}/dir %{_mandir}/man1/libtoolize.1* %changelog +* Tue Mar 11 2025 mahailiang - 2.5.4-2 +- add sw_64 support + * Thu Nov 21 2024 Funda Wang - 2.5.4-1 - update to 2.5.4