diff options
Diffstat (limited to 'package/elfutils/elfutils-03-memcpy-def.patch')
-rw-r--r-- | package/elfutils/elfutils-03-memcpy-def.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/package/elfutils/elfutils-03-memcpy-def.patch b/package/elfutils/elfutils-03-memcpy-def.patch deleted file mode 100644 index eb50cf654d..0000000000 --- a/package/elfutils/elfutils-03-memcpy-def.patch +++ /dev/null @@ -1,24 +0,0 @@ -Provide a compatibility alias __memcpy - -For some reason, libelf uses the internal glibc alias __memcpy, which -doesn't exist in uClibc. Add a manual alias so that the build can -proceed with uClibc. - -Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> - -Index: b/libelf/libelf.h -=================================================================== ---- a/libelf/libelf.h -+++ b/libelf/libelf.h -@@ -34,6 +34,11 @@ - /* Get the ELF types. */ - #include <elf.h> - -+#ifndef _LIBC -+#ifndef __mempcpy -+#define __mempcpy mempcpy -+#endif -+#endif - - /* Known translation types. */ - typedef enum |