[OE-core] [PATCH 24/46] elfutils_0.148.bb: Fix compilation issues on uclibc
Richard Purdie
richard.purdie at linuxfoundation.org
Mon Apr 4 12:30:11 UTC 2011
On Thu, 2011-03-31 at 21:29 -0700, Khem Raj wrote:
> * Add -luargp and -lintl to linker flags
> * __mempcpy is not there on uclibc so define it to mempcpy
>
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ---
> .../elfutils/elfutils-0.148/mempcpy.patch | 14 ++++++++++++++
> meta/recipes-devtools/elfutils/elfutils_0.148.bb | 8 +++++---
> 2 files changed, 19 insertions(+), 3 deletions(-)
> create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.148/mempcpy.patch
>
> 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 0000000..f4af7c4
> --- /dev/null
> +++ b/meta/recipes-devtools/elfutils/elfutils-0.148/mempcpy.patch
> @@ -0,0 +1,14 @@
> +Index: elfutils-0.148/libelf/elf_begin.c
> +===================================================================
> +--- elfutils-0.148.orig/libelf/elf_begin.c
> ++++ elfutils-0.148/libelf/elf_begin.c
> +@@ -68,6 +68,9 @@
> + #include "libelfP.h"
> + #include "common.h"
> +
> ++#ifdef __UCLIBC__
> ++#define __mempcpy mempcpy
> ++#endif
> +
> + /* Create descriptor for archive in memory. */
> + static inline Elf *
The patch description is missing...
Cheers,
Richard
More information about the Openembedded-core
mailing list