kumquat-buildroot/package/icu/0008-double-conversion-enable-for-xtensa.patch
Peter Seiderer b33e61c57d package/icu: fix double conversion compile for xtensa
Fixes [1]:

  In file included from double-conversion.h:42,
                   from number_decimalquantity.cpp:19:
  double-conversion-utils.h:121:2: error: #error Target architecture was not detected as supported by Double-Conversion.
   #error Target architecture was not detected as supported by Double-Conversion.

[1] http://autobuild.buildroot.net/results/fc331ae8e2484be6818f4fc334d3f8c9658fffdc

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2019-10-29 00:11:23 +01:00

27 lines
993 B
Diff

From f8f37357fa7cc403848d2bafe6152a707ca3a074 Mon Sep 17 00:00:00 2001
From: Peter Seiderer <ps.report@gmx.net>
Date: Mon, 28 Oct 2019 21:26:05 +0100
Subject: [PATCH] double-conversion: enable for xtensa
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
source/i18n/double-conversion-utils.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/i18n/double-conversion-utils.h b/source/i18n/double-conversion-utils.h
index a00037e..b3100ac 100644
--- a/source/i18n/double-conversion-utils.h
+++ b/source/i18n/double-conversion-utils.h
@@ -104,7 +104,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.23.0