ubuntu-buildroot/package/qt5/qt5base/0004-double-conversion-enab...

30 lines
1.3 KiB
Diff

From f423f160b984c47d831b10447af046bfbd6a3ba1 Mon Sep 17 00:00:00 2001
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>
[Rebased for qtbase-everywhere-src-5.14.0]
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
.../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
index 89ab1a31..001ce55f 100644
--- a/src/3rdparty/double-conversion/include/double-conversion/utils.h
+++ b/src/3rdparty/double-conversion/include/double-conversion/utils.h
@@ -103,7 +103,7 @@ int main(int argc, char** argv) {
defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \
defined(__riscv) || \
defined(__or1k__) || defined(__arc__) || \
- defined(__microblaze__) || \
+ defined(__microblaze__) || defined(__XTENSA__) || \
defined(__EMSCRIPTEN__)
#define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
#elif defined(__mc68000__) || \
--
2.26.0