diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-02-26 20:30:47 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-02-26 21:04:21 +0100 |
commit | f12a146f817c8ef07a7d41a31a5336b5ef6a96e8 (patch) | |
tree | eaeb34802d99284faba73a99327cd7de7f65392c /package/classpath/0003-add-or1k-endian.patch | |
parent | 0c5946acc24a36f9dff079edd054d948c69434f6 (diff) | |
download | buildroot-f12a146f817c8ef07a7d41a31a5336b5ef6a96e8.tar.gz buildroot-f12a146f817c8ef07a7d41a31a5336b5ef6a96e8.zip |
classpath: add patch to fix or1k compile error
Fixes:
http://autobuild.buildroot.net/results/a0bb5535fd197b9dd1607a5f0bca477c9575c99f
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/classpath/0003-add-or1k-endian.patch')
-rw-r--r-- | package/classpath/0003-add-or1k-endian.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/package/classpath/0003-add-or1k-endian.patch b/package/classpath/0003-add-or1k-endian.patch new file mode 100644 index 0000000000..8bc87841db --- /dev/null +++ b/package/classpath/0003-add-or1k-endian.patch @@ -0,0 +1,18 @@ +Set endianess for or1k + +Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> + +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 |