29 lines
762 B
Diff
29 lines
762 B
Diff
From 582cd8b81a7578411103a0978dfe1d19c5d75ad1 Mon Sep 17 00:00:00 2001
|
|
From: Hailiang <mahailiang@uniontech.com>
|
|
Date: Mon, 10 Mar 2025 14:10:36 +0800
|
|
Subject: [PATCH] add sw_64 support
|
|
|
|
---
|
|
src/native/unix/configure | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/src/native/unix/configure b/src/native/unix/configure
|
|
index 8079a65..cbd75d7 100755
|
|
--- a/src/native/unix/configure
|
|
+++ b/src/native/unix/configure
|
|
@@ -3818,6 +3818,11 @@ printf "%s\n" "failed" >&6; }
|
|
supported_os="linux"
|
|
HOST_CPU=loongarch64
|
|
;;
|
|
+ sw_64)
|
|
+ CFLAGS="$CFLAGS -DCPU=\\\"sw_64\\\""
|
|
+ supported_os="linux"
|
|
+ HOST_CPU=sw_64
|
|
+ ;;
|
|
*)
|
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
|
|
printf "%s\n" "failed" >&6; }
|
|
--
|
|
2.20.1
|
|
|