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-30 13:01:21 +0000 |
commit | 678e8798ebe0f4fd1bd347db136f1499b8fe00c9 (patch) | |
tree | 4bb321fc618c238832f2fb30008714c6c0a16f73 /meta/recipes-devtools/gcc/gcc-cross.inc | |
parent | 4faca22b8fe63a86d820990207aaf84b3fa83e01 (diff) | |
download | poky-678e8798ebe0f4fd1bd347db136f1499b8fe00c9.tar.gz |
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.
(From OE-Core rev: 04b725511a505c582a3abdf63d096967f0320779)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-cross.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc index 4cdb55f3ee..9147acd1a8 100644 --- a/meta/recipes-devtools/gcc/gcc-cross.inc +++ b/meta/recipes-devtools/gcc/gcc-cross.inc | |||
@@ -25,8 +25,8 @@ EXTRA_OECONF += "\ | |||
25 | " | 25 | " |
26 | 26 | ||
27 | EXTRA_OECONF_PATHS = "\ | 27 | EXTRA_OECONF_PATHS = "\ |
28 | --with-gxx-include-dir=${STAGING_DIR_TARGET}${target_includedir}/c++/${BINV} \ | 28 | --with-gxx-include-dir=/not/exist${target_includedir}/c++/${BINV} \ |
29 | --with-sysroot=${STAGING_DIR_TARGET} \ | 29 | --with-sysroot=/not/exist \ |
30 | --with-build-sysroot=${STAGING_DIR_TARGET} \ | 30 | --with-build-sysroot=${STAGING_DIR_TARGET} \ |
31 | " | 31 | " |
32 | 32 | ||