]> code.ossystems Code Review - openembedded-core.git/commit
gcc-cross-intermediate: Ensure we move the libraries from the correct location
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 Mar 2012 11:13:23 +0000 (11:13 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 Mar 2012 15:52:57 +0000 (16:52 +0100)
commitcc953e2259bf77e9e1f7a1e3d0dbe1509c79477e
treee3daf32b8a207e0a52c1667bf093a2d1269af0c1
parente3408adc6912629f268795a1d3adb9df7134979b
gcc-cross-intermediate: Ensure we move the libraries from the correct location

This fixes multilib issues if you try for example to use a BASELIB of /lib32
which wouldn't work without this change since the compiler install location
is taken from gcc -print-multi-os-directory which can still turn out to be
"/lib".

The reason is that a 32 bit gcc has no multilib code enabled and will always
return "." as that value rather than "../${base_libdir}" which our changes
to gcc enable and return in 64 bit mode.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-cross-intermediate.inc