Package: sunpinyin / 3.0.0~rc1+ds1-3

backport/0010-SConstruct-Add-support-for-riscv64-architecture.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From: Boyuan Yang <073plan@gmail.com>
Date: Fri, 29 Jun 2018 22:04:00 +0800
Subject: SConstruct: Add support for riscv64 architecture

This commit adds support for newly emerged riscv64 architecture.

Original author: "Manuel A. Fernandez Montecelo" <mafm@debian.org>
Downstream report: https://bugs.debian.org/898019

Signed-off-by: Boyuan Yang <073plan@gmail.com>
---
 SConstruct | 1 +
 1 file changed, 1 insertion(+)

diff --git a/SConstruct b/SConstruct
index 459be01..92c3c55 100644
--- a/SConstruct
+++ b/SConstruct
@@ -333,6 +333,7 @@ def AppendEndianCheck(conf):
   || defined(_M_X64)    || defined(__bfin__) \
   || defined(__alpha__) || defined(__ARMEL__) \
   || defined(_MIPSEL)   || (defined(__sh__) && defined(__LITTLE_ENDIAN__)) \
+  || defined(__riscv) \
   || defined(__AARCH64EL__)
 # undef WORDS_BIGENDIAN