40 lines
1.1 KiB
Diff
40 lines
1.1 KiB
Diff
From 30f46dd6cda45baac22d968a5d612664759e2b2d Mon Sep 17 00:00:00 2001
|
|
From: Hailiang <mahailiang@uniontech.com>
|
|
Date: Sat, 15 Mar 2025 17:47:36 +0800
|
|
Subject: [PATCH] add sw_64 support
|
|
|
|
---
|
|
build/make/configure.sh | 3 +++
|
|
configure | 1 +
|
|
2 files changed, 4 insertions(+)
|
|
|
|
diff --git a/build/make/configure.sh b/build/make/configure.sh
|
|
index 41d78c1..ad28312 100644
|
|
--- a/build/make/configure.sh
|
|
+++ b/build/make/configure.sh
|
|
@@ -786,6 +786,9 @@ process_common_toolchain() {
|
|
riscv64*)
|
|
tgt_isa=riscv64
|
|
;;
|
|
+ sw_64*)
|
|
+ tgt_isa=sw_64
|
|
+ ;;
|
|
|
|
esac
|
|
|
|
diff --git a/configure b/configure
|
|
index 45d97f8..0d578b5 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -126,6 +126,7 @@ all_platforms="${all_platforms} mips64-linux-gcc"
|
|
all_platforms="${all_platforms} ppc64le-linux-gcc"
|
|
all_platforms="${all_platforms} riscv64-linux-gcc"
|
|
all_platforms="${all_platforms} sparc-solaris-gcc"
|
|
+all_platforms="${all_platforms} sw_64-linux-gcc"
|
|
all_platforms="${all_platforms} x86-android-gcc"
|
|
all_platforms="${all_platforms} x86-darwin8-gcc"
|
|
all_platforms="${all_platforms} x86-darwin8-icc"
|
|
--
|
|
2.20.1
|
|
|