summaryrefslogtreecommitdiffstats
path: root/recipes-core/classpath/classpath-0.99/aarch64.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/classpath/classpath-0.99/aarch64.patch')
-rw-r--r--recipes-core/classpath/classpath-0.99/aarch64.patch19
1 files changed, 19 insertions, 0 deletions
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 @@
1Upstream-Status: Inappropriate [upstream is dead]
2
3Signed-off-by: Ricardo Ribalda <ricardo@ribalda.com>
4
5diff --git a/native/fdlibm/ieeefp.h b/native/fdlibm/ieeefp.h
6index c230bbb..700dd3a 100644
7--- a/native/fdlibm/ieeefp.h
8+++ b/native/fdlibm/ieeefp.h
9@@ -158,6 +158,10 @@
10 #define __IEEE_BIG_ENDIAN
11 #endif
12
13+#ifdef __aarch64__
14+#define __IEEE_LITTLE_ENDIAN
15+#endif
16+
17 #ifndef __IEEE_BIG_ENDIAN
18 #ifndef __IEEE_LITTLE_ENDIAN
19 #error Endianess not declared!!