2019-02-17 15:12:08 +01:00
|
|
|
From 014958d2d17045dd63d93cb3061d1e40b15725b7 Mon Sep 17 00:00:00 2001
|
2018-08-21 22:16:17 +02:00
|
|
|
From: Peter Seiderer <ps.report@gmx.net>
|
|
|
|
Date: Tue, 21 Aug 2018 21:11:40 +0200
|
|
|
|
Subject: [PATCH] double-conversion: enable for microblaze
|
|
|
|
|
2019-02-17 15:12:08 +01:00
|
|
|
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
|
|
|
[Rebased for Qt5.12.0]
|
2018-08-21 22:16:17 +02:00
|
|
|
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
|
|
|
---
|
|
|
|
.../double-conversion/include/double-conversion/utils.h | 3 ++-
|
|
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/src/3rdparty/double-conversion/include/double-conversion/utils.h b/src/3rdparty/double-conversion/include/double-conversion/utils.h
|
2019-02-17 15:12:08 +01:00
|
|
|
index 7622fe6162..d29de95094 100644
|
2018-08-21 22:16:17 +02:00
|
|
|
--- a/src/3rdparty/double-conversion/include/double-conversion/utils.h
|
|
|
|
+++ b/src/3rdparty/double-conversion/include/double-conversion/utils.h
|
2019-02-17 15:12:08 +01:00
|
|
|
@@ -94,7 +94,8 @@ int main(int argc, char** argv) {
|
2018-08-21 22:16:17 +02:00
|
|
|
defined(_MIPS_ARCH_MIPS32R2) || \
|
2019-02-17 15:12:08 +01:00
|
|
|
defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \
|
|
|
|
defined(__riscv) || defined(__EMSCRIPTEN__) || \
|
2018-08-21 22:16:17 +02:00
|
|
|
- defined(__or1k__)
|
2019-02-17 15:12:08 +01:00
|
|
|
+ defined(__or1k__) || \
|
2018-08-21 22:16:17 +02:00
|
|
|
+ defined(__microblaze__)
|
|
|
|
#define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
|
2019-02-17 15:12:08 +01:00
|
|
|
#elif defined(__mc68000__) || \
|
|
|
|
defined(__pnacl__) || defined(__native_client__)
|
2018-08-21 22:16:17 +02:00
|
|
|
--
|
2019-02-17 15:12:08 +01:00
|
|
|
2.19.2
|
2018-08-21 22:16:17 +02:00
|
|
|
|