aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2021-03-08 18:01:51 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-03-10 10:29:44 +0000
commitd039d6fbfc9076f081173f6e5cc63c56fe3a5adb (patch)
tree77bdc33af4cc5098cc0a3d2fa57fbca6785cf059
parent1fcaa5f452b2c6b93a6f3dfd57f894cbef5e3379 (diff)
downloadopenembedded-core-contrib-d039d6fbfc9076f081173f6e5cc63c56fe3a5adb.tar.gz
openembedded-core-contrib-d039d6fbfc9076f081173f6e5cc63c56fe3a5adb.tar.bz2
openembedded-core-contrib-d039d6fbfc9076f081173f6e5cc63c56fe3a5adb.zip
gcc-cross: make use of the system include directories fatal
When building the cross GCC, configure it so that including the host system include directories is fatal, not just a warning. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc
index 6fa8c274cd3..e08807afade 100644
--- a/meta/recipes-devtools/gcc/gcc-cross.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross.inc
@@ -21,7 +21,7 @@ require gcc-configure-common.inc
# gnu) will hit a QA failure.
LINKER_HASH_STYLE ?= "sysv"
-EXTRA_OECONF += "--enable-poison-system-directories"
+EXTRA_OECONF += "--enable-poison-system-directories=error"
EXTRA_OECONF_append_sh4 = " \
--with-multilib-list= \
--enable-incomplete-targets \