gnu: igt-gpu-tools: Don't use NAME in source URI.
[jackhill/guix/guix.git] / gnu / packages / patches / classpath-aarch64-support.patch
CommitLineData
bab9793f
EF
1This is modeled after the ia64 support. Aarch64 can be either big endian
2or little endian, so we add the case for both.
3
4---
5 native/fdlibm/ieeefp.h | 8 ++++++++
6 1 file changed, 8 insertions(+)
7
8diff --git a/native/fdlibm/ieeefp.h b/native/fdlibm/ieeefp.h
9index 1a9740f..73455c0 100644
10--- a/native/fdlibm/ieeefp.h
11+++ b/native/fdlibm/ieeefp.h
12@@ -27,6 +27,14 @@
13 #endif
14 #endif
15
16+#ifdef __aarch64__
17+#ifdef __BIG_ENDIAN__
18+#define __IEEE_BIG_ENDIAN
19+#else
20+#define __IEEE_LITTLE_ENDIAN
21+#endif
22+#endif
23+
24 #ifdef __hppa__
25 #define __IEEE_BIG_ENDIAN
26 #endif
27--
282.16.3
29