40 lines
1.1 KiB
Diff
40 lines
1.1 KiB
Diff
|
|
From 45efccd7042df956566914d686001eb42285461c Mon Sep 17 00:00:00 2001
|
||
|
|
From: mahailiang <mahailiang@uniontech.com>
|
||
|
|
Date: Mon, 4 Nov 2024 11:15:36 +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 7f76b62..84384ea 100755
|
||
|
|
--- a/build-aux/config.guess
|
||
|
|
+++ b/build-aux/config.guess
|
||
|
|
@@ -1039,6 +1039,9 @@ EOF
|
||
|
|
loongarch32:Linux:*:* | loongarch64:Linux:*:* | loongarchx32:Linux:*:*)
|
||
|
|
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
|
||
|
|
;;
|
||
|
|
+ sw_64*:Linux:*:*)
|
||
|
|
+ echo $UNAME_MACHINE-unknown-linux-$LIBC
|
||
|
|
+ exit ;;
|
||
|
|
m32r*:Linux:*:*)
|
||
|
|
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
|
||
|
|
;;
|
||
|
|
diff --git a/build-aux/config.sub b/build-aux/config.sub
|
||
|
|
index 9b62e37..70bc542 100755
|
||
|
|
--- a/build-aux/config.sub
|
||
|
|
+++ b/build-aux/config.sub
|
||
|
|
@@ -1267,6 +1267,7 @@ case $cpu-$vendor in
|
||
|
|
| sparclite \
|
||
|
|
| sparcv8 | sparcv9 | sparcv9b | sparcv9v | sv1 | sx* \
|
||
|
|
| spu \
|
||
|
|
+ | sw_64 \
|
||
|
|
| tahoe \
|
||
|
|
| thumbv7* \
|
||
|
|
| tic30 | tic4x | tic54x | tic55x | tic6x | tic80 \
|
||
|
|
--
|
||
|
|
2.20.1
|
||
|
|
|