Package: sunpinyin / 3.0.0~rc1+ds1-3

backport/0012-SConstruct-Add-support-for-m68k-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
27
28
From: yangfl <yangfl@users.noreply.github.com>
Date: Tue, 18 Sep 2018 00:40:33 +0800
Subject: SConstruct: Add support for m68k architecture

This commit adds support for m68k architecture.

Original author: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Downstream report: https://bugs.debian.org/905238

Signed-off-by: David Yang <mmyangfl@gmail.com>
---
 SConstruct | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/SConstruct b/SConstruct
index 92c3c55..35a3278 100644
--- a/SConstruct
+++ b/SConstruct
@@ -321,7 +321,8 @@ def AppendEndianCheck(conf):
   || defined(__ppc__)  || defined(__hpux) || defined(__hppa) \
   || defined(_MIPSEB)  || defined(_POWER) \
   || defined(__s390__) || (defined(__sh__) && defined(__BIG_ENDIAN__)) \
-  || defined(__AARCH64EB__)
+  || defined(__AARCH64EB__) \
+  || definied(__m68k__)
 # define WORDS_BIGENDIAN 1
 
 #elif defined(__i386__) || defined(__i386) \