summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/elfutils/elfutils-0.148
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-03-31 20:52:54 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-28 10:44:38 +0100
commit78cb6b1baa09e22d5640f20abf03fa589ecf6054 (patch)
treeb8ca8430ea2c33e0d3971147d497ce65abbf0063 /meta/recipes-devtools/elfutils/elfutils-0.148
parentdff516e0ebc43aefb64f7cea1a699dad6e4e9da3 (diff)
downloadpoky-78cb6b1baa09e22d5640f20abf03fa589ecf6054.tar.gz
elfutils_0.148.bb: Fix compilation issues on uclibc
* Add -luargp and -lintl to linker flags * __mempcpy is not there on uclibc so define it to mempcpy (From OE-Core rev: a991226ff160c20fd7a03fe3b53b36389d3ff1f4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/elfutils/elfutils-0.148')
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.148/mempcpy.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.148/mempcpy.patch b/meta/recipes-devtools/elfutils/elfutils-0.148/mempcpy.patch
new file mode 100644
index 0000000000..e1e4ad0a1e
--- /dev/null
+++ b/meta/recipes-devtools/elfutils/elfutils-0.148/mempcpy.patch
@@ -0,0 +1,23 @@
1uclibc does not export __mempcpy like glibc so we alias it here.
2This patch may make sense for upstream but elfutils uses more
3glibc specific features like obstack_printf which are missing in
4uclibc they need to be fixed along to make it work all the way
5
6Upstream-status: Inappropriate[Elfutils uses more glibc specific features]
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9
10Index: elfutils-0.148/libelf/elf_begin.c
11===================================================================
12--- elfutils-0.148.orig/libelf/elf_begin.c
13+++ elfutils-0.148/libelf/elf_begin.c
14@@ -68,6 +68,9 @@
15 #include "libelfP.h"
16 #include "common.h"
17
18+#ifdef __UCLIBC__
19+#define __mempcpy mempcpy
20+#endif
21
22 /* Create descriptor for archive in memory. */
23 static inline Elf *