Compare commits

...

2 Commits

Author SHA1 Message Date
openeuler-ci-bot 8952f032b3 !31 add sw_64 support
From: @hailianguniontech 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2025-03-17 02:59:02 +00:00
Hailiang cc2c5df69d add sw_64 support 2025-03-11 13:45:01 +08:00
2 changed files with 44 additions and 1 deletions
+39
View File
@@ -0,0 +1,39 @@
From 80ff97af5d5686e071816af16f65d98af5116238 Mon Sep 17 00:00:00 2001
From: Hailiang <mahailiang@uniontech.com>
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
+5 -1
View File
@@ -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 <mahailiang@uniontech.com> - 2.5.4-2
- add sw_64 support
* Thu Nov 21 2024 Funda Wang <fundawang@yeah.net> - 2.5.4-1
- update to 2.5.4