diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2011-12-21 10:43:33 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-22 13:13:30 +0000 |
commit | be769d948a9c26d55d98fbf38fc0b109edb40c3f (patch) | |
tree | 3c89b073f36fccb7446636bee3a7b3c55c7dffe1 /meta/classes/src_distribute.bbclass | |
parent | 20ffaee6103a972aaaf64a02dcab2bf342e9f4d4 (diff) | |
download | openembedded-core-be769d948a9c26d55d98fbf38fc0b109edb40c3f.tar.gz openembedded-core-be769d948a9c26d55d98fbf38fc0b109edb40c3f.tar.bz2 openembedded-core-be769d948a9c26d55d98fbf38fc0b109edb40c3f.tar.xz openembedded-core-be769d948a9c26d55d98fbf38fc0b109edb40c3f.zip |
binutils: fix building on distros with matching binutils version
x86_64 opensuse 11.4 has bintuils version 2.21, and when
binutils_2.21 recipe is built for x86_64 target then, the invocation
of distro gcc fails with errors like this:
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/as:
symbol lookup error: /usr/lib64/gcc/x86_64-suse-linux/4.5/..
make[2]: *** [sysinfo.o] Error 1
The issue rootcaused as incompatible LD_LIBRARY_PATH while running
the distro gcc.
As per Martin Jansa gentoo also sees similar issue with binutils 2.22
recipe.
This commit fixes the issue by clearing the LD_LIBRARY_PATH for
distro gcc (CC_FOR_BUILD)
This Fixes bug: [YOCTO #1833]
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Diffstat (limited to 'meta/classes/src_distribute.bbclass')
0 files changed, 0 insertions, 0 deletions