diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-10-24 15:10:25 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-10-24 21:59:42 +0100 |
commit | 04b725511a505c582a3abdf63d096967f0320779 (patch) | |
tree | c15d67ec6f7a03061fba3a725fc3dbf163f3a59f /meta/recipes-devtools/gcc/gcc-runtime.inc | |
parent | 4143f3b0ce0d0c52f5b0babc1bb16ac0ac9610eb (diff) | |
download | openembedded-core-04b725511a505c582a3abdf63d096967f0320779.tar.gz openembedded-core-04b725511a505c582a3abdf63d096967f0320779.tar.bz2 openembedded-core-04b725511a505c582a3abdf63d096967f0320779.zip |
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>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-runtime.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-runtime.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc index 167869e1f2..0348bc4607 100644 --- a/meta/recipes-devtools/gcc/gcc-runtime.inc +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc @@ -4,7 +4,7 @@ CXXFLAGS := "${@oe_filter_out('-fvisibility-inlines-hidden', '${CXXFLAGS}', d)}" EXTRA_OECONF_PATHS = "\ --with-gxx-include-dir=${includedir}/c++/${BINV} \ - --with-sysroot=${STAGING_DIR_TARGET} \ + --with-sysroot=/not/exist \ --with-build-sysroot=${STAGING_DIR_TARGET} \ " |