25 lines
750 B
Diff
25 lines
750 B
Diff
|
|
From cd9f19a56816985d05f132319874f6697d7da872 Mon Sep 17 00:00:00 2001
|
||
|
|
From: Wenlong Zhang <zhangwenlong@loongson.cn>
|
||
|
|
Date: Mon, 26 Feb 2024 03:25:24 +0000
|
||
|
|
Subject: [PATCH] add loongarch64 support for python
|
||
|
|
|
||
|
|
---
|
||
|
|
configure.ac | 2 ++
|
||
|
|
1 file changed, 2 insertions(+)
|
||
|
|
|
||
|
|
diff --git a/configure.ac b/configure.ac
|
||
|
|
index e1cbb7c..1b8c272 100644
|
||
|
|
--- a/configure.ac
|
||
|
|
+++ b/configure.ac
|
||
|
|
@@ -968,6 +968,8 @@ cat > conftest.c <<EOF
|
||
|
|
hppa-linux-gnu
|
||
|
|
# elif defined(__ia64__)
|
||
|
|
ia64-linux-gnu
|
||
|
|
+# elif defined(__loongarch64)
|
||
|
|
+ loongarch64-linux-gnu
|
||
|
|
# elif defined(__m68k__) && !defined(__mcoldfire__)
|
||
|
|
m68k-linux-gnu
|
||
|
|
# elif defined(__mips_hard_float) && defined(__mips_isa_rev) && (__mips_isa_rev >=6) && defined(_MIPSEL)
|
||
|
|
--
|
||
|
|
2.43.0
|