From d039d6fbfc9076f081173f6e5cc63c56fe3a5adb Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 8 Mar 2021 18:01:51 +0000 Subject: 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 --- meta/recipes-devtools/gcc/gcc-cross.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc index 6fa8c274cd..e08807afad 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 \ -- cgit 1.2.3-korg