summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc
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:30:39 +0000
commitfdb9e868f71318c1247ef4e1b895580e66d9faf5 (patch)
treee21faacd5b43cb14bbc69c0e0e7b6ae333d21f1b /meta/recipes-devtools/gcc
parent036dd67bf6a35f212ef966228f3fee7a5a9c6cbe (diff)
downloadpoky-fdb9e868f71318c1247ef4e1b895580e66d9faf5.tar.gz
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. (From OE-Core rev: d039d6fbfc9076f081173f6e5cc63c56fe3a5adb) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-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 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
21# gnu) will hit a QA failure. 21# gnu) will hit a QA failure.
22LINKER_HASH_STYLE ?= "sysv" 22LINKER_HASH_STYLE ?= "sysv"
23 23
24EXTRA_OECONF += "--enable-poison-system-directories" 24EXTRA_OECONF += "--enable-poison-system-directories=error"
25EXTRA_OECONF_append_sh4 = " \ 25EXTRA_OECONF_append_sh4 = " \
26 --with-multilib-list= \ 26 --with-multilib-list= \
27 --enable-incomplete-targets \ 27 --enable-incomplete-targets \