]> code.ossystems Code Review - openembedded-core.git/commit
gcc-configure-common.inc: Stop gcc looking at build system paths
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 15 Apr 2012 17:05:53 +0000 (18:05 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 15 Apr 2012 17:09:52 +0000 (18:09 +0100)
commite7135f14f3ef37f93f5c28b319464f3d6dd9b8da
tree56ee61a5108e9dfac0ef6446efd5c51f078a7886
parentdaa4d625524dc330786858ade570918cff0bc5d3
gcc-configure-common.inc: Stop gcc looking at build system paths

There were puzzling failures when you make a force recompile of any gcc
component. The error was in do_configure with cross-compilation badness
being detected in config.log files.

gcc is different in that many of the config.log files are generated during
the do_compile phase. This means this host contamination issue has always
been present but only shows up on a rebuild.

The fix is to force the appropriate configuration variable to "none required"
then gcc won't look in the bad locations.

[YOCTO #2279]

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