]> code.ossystems Code Review - openembedded-core.git/commit
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:00 +0000 (12:36 +0100)
commitaf58d5c3a5c5e632aa20b1d007d47dbbfb4ed6e6
tree78693beb80c74e60e9fdf00430e8f22c0c3f207f
parent0b79c730f3e5c3c5329e439dffd137f2605b6cba
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.

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