Skip to contentSkip to conversation

classpath: add patch to fix or1k compile error

PATCH New Waldemar Brodkorb 2 participants 2 messages Feb 26, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 classpath: add patch to fix or1k compile error

Fixes:
http://autobuild.buildroot.net/results/a0bb5535fd197b9dd1607a5f0bca477c9575c99f

---
 package/classpath/0003-add-or1k-endian.patch | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 package/classpath/0003-add-or1k-endian.patch
package/classpath/0003-add-or1k-endian.patch new file +18 -0
new file mode 100644
index 0000000..8bc8784
@@ -0,0 +1,18 @@
+Set endianess for or1k
+
+Signed-off-by: Waldemar Brodkorb <[email protected]>
+
+diff -Nur classpath-0.98.orig/native/fdlibm/ieeefp.h classpath-0.98/native/fdlibm/ieeefp.h
+--- classpath-0.98.orig/native/fdlibm/ieeefp.h	2008-01-13 18:33:50.000000000 +0100
++++ classpath-0.98/native/fdlibm/ieeefp.h	2017-02-26 12:39:12.316327363 +0100
+@@ -123,6 +123,10 @@
+ #define __IEEE_BIG_ENDIAN
+ #endif
+ 
++#ifdef __or1k__
++#define __IEEE_BIG_ENDIAN
++#endif
++
+ #ifdef __v800
+ #define __IEEE_LITTLE_ENDIAN
+ #endif
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 classpath: add patch to fix or1k compile error

Hello,

Quoted 8 lines · Waldemar Brodkorb

Fixes:
http://autobuild.buildroot.net/results/a0bb5535fd197b9dd1607a5f0bca477c9575c99f

---
 package/classpath/0003-add-or1k-endian.patch | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 package/classpath/0003-add-or1k-endian.patch

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com