]> code.ossystems Code Review - openembedded-core.git/commit
gcc: poison default sysroot path
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 24 Oct 2014 14:10:25 +0000 (15:10 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 24 Oct 2014 20:59:42 +0000 (21:59 +0100)
commit04b725511a505c582a3abdf63d096967f0320779
treec15d67ec6f7a03061fba3a725fc3dbf163f3a59f
parent4143f3b0ce0d0c52f5b0babc1bb16ac0ac9610eb
gcc: poison default sysroot path

Various pieces of the code assume that the --sysroot option gets passed
into the compiler tools. By having a "sane" default, we don't always
spot when this occurs and this can later show up as breakage in sstate,
or in usage of the external toolchain.

We've long since talked about poisoning the default such that it will
break unless the correct option is specified. This patch does just that.

If this patch causes something to fail to build, it most likely means
the various compiler flags and commands are not correctly being passed
through to the underlying piece of software and that there is a real
problem that needs fixing, its not the fault of this patch.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-4.9.inc
meta/recipes-devtools/gcc/gcc-cross-canadian.inc
meta/recipes-devtools/gcc/gcc-cross-initial.inc
meta/recipes-devtools/gcc/gcc-cross.inc
meta/recipes-devtools/gcc/gcc-runtime.inc
meta/recipes-devtools/gcc/libgfortran.inc