From d4055cc7c4b4430254ab45a265a480379106ceda Mon Sep 17 00:00:00 2001 From: Ricardo Ribalda Delgado Date: Fri, 5 Jul 2019 13:18:05 +0200 Subject: classpath: Fix build with targets aarch64 Fixes: | In file included from ../../../classpath-0.99/native/fdlibm/fdlibm.h:36, | from ../../../classpath-0.99/native/fdlibm/e_exp.c:76: | ../../../classpath-0.99/native/fdlibm/ieeefp.h:163:2: error: #error Endianess not declared!! | #error Endianess not declared!! | ^~~~~ | In file included from ../../classpath-0.99/native/fdlibm/fdlibm.h:40, Signed-off-by: Ricardo Ribalda Delgado Signed-off-by: Richard Leitner --- recipes-core/classpath/classpath-0.99/aarch64.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 recipes-core/classpath/classpath-0.99/aarch64.patch (limited to 'recipes-core/classpath/classpath-0.99') diff --git a/recipes-core/classpath/classpath-0.99/aarch64.patch b/recipes-core/classpath/classpath-0.99/aarch64.patch new file mode 100644 index 0000000..4de40fb --- /dev/null +++ b/recipes-core/classpath/classpath-0.99/aarch64.patch @@ -0,0 +1,19 @@ +Upstream-Status: Inappropriate [upstream is dead] + +Signed-off-by: Ricardo Ribalda + +diff --git a/native/fdlibm/ieeefp.h b/native/fdlibm/ieeefp.h +index c230bbb..700dd3a 100644 +--- a/native/fdlibm/ieeefp.h ++++ b/native/fdlibm/ieeefp.h +@@ -158,6 +158,10 @@ + #define __IEEE_BIG_ENDIAN + #endif + ++#ifdef __aarch64__ ++#define __IEEE_LITTLE_ENDIAN ++#endif ++ + #ifndef __IEEE_BIG_ENDIAN + #ifndef __IEEE_LITTLE_ENDIAN + #error Endianess not declared!! -- cgit v1.2.3-54-g00ecf