sunpinyin/add-sw-support.patch
maqi 72fa458762 add sw_64 support
(cherry picked from commit 6c0d3a12fe7b768146f8337e976f9c7b1b035dc9)
2025-03-11 09:42:07 +08:00

24 lines
633 B
Diff

From 374709081d2b3cf9d97a2b71e294bab152bf3f3c Mon Sep 17 00:00:00 2001
From: maqi <maqi@uniontech.com>
Date: Fri, 8 Nov 2024 21:37:01 +0800
Subject: [PATCH] add sw support
---
SConstruct | 1 +
1 file changed, 1 insertion(+)
diff --git a/SConstruct b/SConstruct
index a2d2bf4..d6bacff 100644
--- a/SConstruct
+++ b/SConstruct
@@ -337,6 +337,7 @@ def AppendEndianCheck(conf):
|| defined(_MIPSEL) || (defined(__sh__) && defined(__LITTLE_ENDIAN__)) \
|| defined(__riscv) \
|| defined(__AARCH64EL__) \
+ || defined(__sw_64__) \
|| defined(__loongarch64) || defined(__loongarch64__)
# undef WORDS_BIGENDIAN
--
2.33.0