kumquat-buildroot/package/python-ujson/0001-Add-support-for-aarch64_be-or1k-and-microblazebe.patch

31 lines
1.3 KiB
Diff
Raw Normal View History

From 768a445f0c28311bf88685bf0bb990505c12fd4c Mon Sep 17 00:00:00 2001
From: Florian Loitsch <florian@loitsch.com>
Date: Sat, 8 Sep 2018 18:18:15 +0200
Subject: [PATCH] Add support for aarch64_be, or1k and microblazebe.
Fixes #73.
[Retrieved from:
https://github.com/google/double-conversion/commit/768a445f0c28311bf88685bf0bb990505c12fd4c]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
double-conversion/utils.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/deps/double-conversion/ouble-conversion/utils.h b/deps/double-conversion/double-conversion/utils.h
index 98a2a11..492bc97 100644
--- a/deps/double-conversion/double-conversion/utils.h
+++ b/deps/double-conversion/double-conversion/utils.h
@@ -76,8 +76,9 @@ inline void abort_noreturn() { abort(); }
defined(__sparc__) || defined(__sparc) || defined(__s390__) || \
defined(__SH4__) || defined(__alpha__) || \
defined(_MIPS_ARCH_MIPS32R2) || \
- defined(__AARCH64EL__) || defined(__aarch64__) || \
- defined(__riscv)
+ defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \
+ defined(__riscv) || \
+ defined(__or1k__)
#define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
#elif defined(__mc68000__) || \
defined(__pnacl__) || defined(__native_client__)