From: Ross Burton Date: Mon, 8 Mar 2021 18:01:51 +0000 (+0000) Subject: gcc-cross: make use of the system include directories fatal X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~8483 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d039d6fbfc9076f081173f6e5cc63c56fe3a5adb;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- 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 \