]> code.ossystems Code Review - openembedded-core.git/commit
mklibs-native: fix the build on Ubuntu 9.04 by defining STT_GNU_IFUNC
authorDexuan Cui <dexuan.cui@intel.com>
Wed, 16 Feb 2011 09:16:39 +0000 (17:16 +0800)
committerSaul Wold <sgw@linux.intel.com>
Tue, 22 Feb 2011 15:21:24 +0000 (07:21 -0800)
commite2dbad7b7db7b62dee4bb5b6c28a5ab4dde08358
tree8c03c268505fec7b8d4f37bb0d4240aeffb8087f
parent9a28ad6b0291e0d4c4aae6ba25a9f7752d5c2e11
mklibs-native: fix the build on Ubuntu 9.04 by defining STT_GNU_IFUNC

mklibs-native needs elf.h (that is supplied by libc6-dev).
since STAGING_INCDIR_NATIVE doesn't contain elf.h (we don't have eglibc-native),
so the host's /usr/include/elf.h is used.
Unluckily, the libc6-dev in Ubuntu 9.04 is so old that the elf.h doesn't
define STT_GNU_IFUNC, so we have to define it ourselves.

Fixes [BUGID #726]

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
meta/recipes-devtools/mklibs/files/fix_STT_GNU_IFUNC.patch [new file with mode: 0644]
meta/recipes-devtools/mklibs/mklibs-native_0.1.31.bb