board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / poco / 0002-fix-m68k-double-conv-detect.patch
blob3ca03fc7be6d2b18a887a0d6887709c12efecba2
1 Fixes compile for m68k.
3 From upstream double-conversion commit da111796231:
4 https://github.com/google/double-conversion/blob/master/double-conversion/utils.h
6 Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
8 diff -Nur poco-poco-1.7.2-release.orig/Foundation/src/utils.h poco-poco-1.7.2-release/Foundation/src/utils.h
9 --- poco-poco-1.7.2-release.orig/Foundation/src/utils.h 2016-03-19 08:19:35.000000000 +0100
10 +++ poco-poco-1.7.2-release/Foundation/src/utils.h 2016-08-11 02:55:02.827238119 +0200
11 @@ -63,6 +63,8 @@
12 defined(__AARCH64EL__) || \
13 defined(nios2) || defined(__nios2) || defined(__nios2__)
14 #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
15 +#elif defined(__mc68000__)
16 +#undef DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS
17 #elif defined(_M_IX86) || defined(__i386__) || defined(__i386)
18 #if defined(_WIN32)
19 // Windows uses a 64bit wide floating point stack.