gcc: fix collect2 host contamination problem properly
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Jul 2012 10:30:14 +0000 (10:30 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Jul 2012 11:36:45 +0000 (12:36 +0100)
commit0d90f5c019ff3026c85710c8df7a29f0104fb5f7
tree4bb9fcc01fdbe165c7e3b4d86cddbe7e11d02141
parenta3d8cb0a5e0a9f25986cfbf6d7f5b3d0870b1773
gcc: fix collect2 host contamination problem properly

We added the autoconf cache line a while back to ensure that configure doesn't
poke into some hardcoded host paths looking for things it shouldn't. Applying
it as part of do_configure wasn't getting it to the do_compile tasks
where much of the configure scripts are run by gcc. This changes it to a simple
export to ensure it reaches the places it needs to and truly gets rid of
the cross compile badness messages from the logs.

(From OE-Core rev: af58d5c3a5c5e632aa20b1d007d47dbbfb4ed6e6)

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