diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-02-03 20:43:19 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-02-03 20:43:19 +0100 |
commit | 95e324ab03683e9ca3b2f304a42139cd507de5c2 (patch) | |
tree | 972a868213642a8fbef838b1e3bdd88184d30a22 /toolchain/uClibc/patches | |
parent | 00b128abaeab4d936a8e7d142dc9cec7a5f3081f (diff) |
fix compile for mips64 target
from http://www.mail-archive.com/uclibc@uclibc.org/msg04960.html
Diffstat (limited to 'toolchain/uClibc/patches')
-rw-r--r-- | toolchain/uClibc/patches/mips64.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches/mips64.patch b/toolchain/uClibc/patches/mips64.patch new file mode 100644 index 000000000..fd2135a48 --- /dev/null +++ b/toolchain/uClibc/patches/mips64.patch @@ -0,0 +1,22 @@ +diff -Nur uClibc-0.9.30.2.orig/libc/sysdeps/linux/common/getdents.c uClibc-0.9.30.2/libc/sysdeps/linux/common/getdents.c +--- uClibc-0.9.30.2.orig/libc/sysdeps/linux/common/getdents.c 2010-01-13 22:22:31.000000000 +0100 ++++ uClibc-0.9.30.2/libc/sysdeps/linux/common/getdents.c 2010-02-03 20:21:34.000000000 +0100 +@@ -136,9 +136,6 @@ + return (char *) dp - buf; + } + +-#if defined __UCLIBC_HAS_LFS__ && ! defined __NR_getdents64 +-attribute_hidden strong_alias(__getdents,__getdents64) +-#endif + + #elif __WORDSIZE == 32 + +@@ -171,4 +168,8 @@ + } + #endif + ++#if defined __UCLIBC_HAS_LFS__ && ! defined __NR_getdents64 ++attribute_hidden strong_alias(__getdents,__getdents64) ++#endif ++ + #endif |