diff options
author | Ross Burton <ross@burtonini.com> | 2021-03-08 18:01:51 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-03-10 10:29:44 +0000 |
commit | d039d6fbfc9076f081173f6e5cc63c56fe3a5adb (patch) | |
tree | 77bdc33af4cc5098cc0a3d2fa57fbca6785cf059 /meta/recipes-devtools | |
parent | 1fcaa5f452b2c6b93a6f3dfd57f894cbef5e3379 (diff) | |
download | openembedded-core-d039d6fbfc9076f081173f6e5cc63c56fe3a5adb.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.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross.inc | 2 |
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 # 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 \ |