2020-04-03 23:23:56 +02:00
|
|
|
From f423f160b984c47d831b10447af046bfbd6a3ba1 Mon Sep 17 00:00:00 2001
|
2020-03-10 09:19:00 +01:00
|
|
|
From: Peter Seiderer <ps.report@gmx.net>
|
|
|
|
Date: Tue, 10 Mar 2020 09:01:31 +0100
|
|
|
|
Subject: [PATCH] double-conversion: enable for xtensa
|
|
|
|
|
|
|
|
[Upstream: https://github.com/google/double-conversion/commit/a54561be5588ac9b16d3c20760b9b554168bb8aa]
|
|
|
|
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
2020-04-03 23:23:56 +02:00
|
|
|
[Rebased for qtbase-everywhere-src-5.14.0]
|
|
|
|
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
2020-03-10 09:19:00 +01:00
|
|
|
---
|
|
|
|
.../double-conversion/include/double-conversion/utils.h | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/src/3rdparty/double-conversion/include/double-conversion/utils.h b/src/3rdparty/double-conversion/include/double-conversion/utils.h
|
2020-04-03 23:23:56 +02:00
|
|
|
index 89ab1a31..001ce55f 100644
|
2020-03-10 09:19:00 +01:00
|
|
|
--- a/src/3rdparty/double-conversion/include/double-conversion/utils.h
|
|
|
|
+++ b/src/3rdparty/double-conversion/include/double-conversion/utils.h
|
2020-04-03 23:23:56 +02:00
|
|
|
@@ -103,7 +103,7 @@ int main(int argc, char** argv) {
|
2020-03-10 09:19:00 +01:00
|
|
|
defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \
|
2020-04-03 23:23:56 +02:00
|
|
|
defined(__riscv) || \
|
|
|
|
defined(__or1k__) || defined(__arc__) || \
|
|
|
|
- defined(__microblaze__) || \
|
|
|
|
+ defined(__microblaze__) || defined(__XTENSA__) || \
|
|
|
|
defined(__EMSCRIPTEN__)
|
2020-03-10 09:19:00 +01:00
|
|
|
#define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
|
|
|
|
#elif defined(__mc68000__) || \
|
|
|
|
--
|
2020-04-03 23:23:56 +02:00
|
|
|
2.26.0
|
2020-03-10 09:19:00 +01:00
|
|
|
|