mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-16 11:55:27 -05:00
bab9793f54
* gnu/packages/java.scm (classpath-bootstrap, classpath-0.99)[source]: Add patch. * gnu/packages/patches/classpath-aarch64-support.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it.
29 lines
571 B
Diff
29 lines
571 B
Diff
This is modeled after the ia64 support. Aarch64 can be either big endian
|
|
or little endian, so we add the case for both.
|
|
|
|
---
|
|
native/fdlibm/ieeefp.h | 8 ++++++++
|
|
1 file changed, 8 insertions(+)
|
|
|
|
diff --git a/native/fdlibm/ieeefp.h b/native/fdlibm/ieeefp.h
|
|
index 1a9740f..73455c0 100644
|
|
--- a/native/fdlibm/ieeefp.h
|
|
+++ b/native/fdlibm/ieeefp.h
|
|
@@ -27,6 +27,14 @@
|
|
#endif
|
|
#endif
|
|
|
|
+#ifdef __aarch64__
|
|
+#ifdef __BIG_ENDIAN__
|
|
+#define __IEEE_BIG_ENDIAN
|
|
+#else
|
|
+#define __IEEE_LITTLE_ENDIAN
|
|
+#endif
|
|
+#endif
|
|
+
|
|
#ifdef __hppa__
|
|
#define __IEEE_BIG_ENDIAN
|
|
#endif
|
|
--
|
|
2.16.3
|
|
|