kumquat-buildroot/package/poco/0002-Add-support-for-m68000-1856.patch
Thomas Petazzoni d8dd945b2d poco: replace m68k support patch by upstream backport
The m68k fix was merged upstream, so let's backport the upstream
commit.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-07-01 15:45:29 +02:00

31 lines
1012 B
Diff

From e49753f7654dc62087e47731832d5992cc4d194e Mon Sep 17 00:00:00 2001
From: Jochen Sprickerhof <github@jochen.sprickerhof.de>
Date: Wed, 23 Aug 2017 16:50:51 +0200
Subject: [PATCH] Add support for m68000 (#1856)
Originally taken from
https://github.com/google/double-conversion/commit/da11179623145f53b204105a93b8bbca431141da
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
Foundation/src/utils.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Foundation/src/utils.h b/Foundation/src/utils.h
index 69cea1aca..a7bda0171 100644
--- a/Foundation/src/utils.h
+++ b/Foundation/src/utils.h
@@ -65,6 +65,8 @@
defined(__AARCH64EL__) || \
defined(nios2) || defined(__nios2) || defined(__nios2__)
#define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
+#elif defined(__mc68000__)
+#undef DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS
#elif defined(_M_IX86) || defined(__i386__) || defined(__i386)
#if defined(_WIN32)
// Windows uses a 64bit wide floating point stack.
--
2.14.4