xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1From e3c25af4b40d64f098e7b8ae5a91fdc3c90163c4 Mon Sep 17 00:00:00 2001
2From: Lei Maohui <leimaohui@cn.fujitsu.com>
3Date: Wed, 8 May 2019 14:42:30 +0900
4Subject: [PATCH] icu: Added armeb support.
5
6Make icu support arm32 BE.
7
8Upstream-Status: Pending
9
10Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
11
12---
13 i18n/double-conversion-utils.h | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/source/i18n/double-conversion-utils.h b/source/i18n/double-conversion-utils.h
17index 7f23e0a..7f89094 100644
18--- a/i18n/double-conversion-utils.h
19+++ b/i18n/double-conversion-utils.h
20@@ -115,7 +115,7 @@ int main(int argc, char** argv) {
21 //
22 // If it prints "correct" then the architecture should be here, in the "correct" section.
23 #if defined(_M_X64) || defined(__x86_64__) || \
24-    defined(__ARMEL__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \
25+    defined(__arm__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \
26     defined(__hppa__) || defined(__ia64__) || \
27     defined(__mips__) || \
28     defined(__loongarch__) || \
29