]> code.ossystems Code Review - openembedded-core.git/commit
gcc: Update poisoned include path checking
authorMark Hatle <mark.hatle@windriver.com>
Wed, 29 Sep 2010 20:18:01 +0000 (15:18 -0500)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 1 Oct 2010 15:30:43 +0000 (16:30 +0100)
commit23f522e7a53821a8fb036e1aebddc7379d6f584e
treeb6fd962477f8b0c773275b6030e164bcd25aa43c
parent9a1d4d0c8d8f995a12b341e44386d8d2c680f720
gcc: Update poisoned include path checking

[BUGID #374]

The poison directory patch that was included with gcc-4.5.0 was not previously
enabled due to the lack of the configure file changes.

The patch has been updated to include the configure fragment.  It was also noted
that this patch preformed nearly the same functions as the
zecke-no-host-includes patch, but with slightly different directories.

The directories scanned were added from the zecke-no-host-includes patch to
the new gcc-poison-dir-extend.patch.

The other difference with the zecke patch is that poisoned headers is no longer
an immediate fatal error.  There may be instances where someone wants to do
this.

Adding -Werror=poison-system-directories to the CFLAGS would restore the
behavior.

Also fix a small problem where --help=warnings on gcc wouldn't return the
poison-system-directories as a valid option, even though it was.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
meta/recipes-devtools/gcc/gcc-4.5.0.inc
meta/recipes-devtools/gcc/gcc-4.5.0/gcc-poison-dir-extend.patch [new file with mode: 0644]
meta/recipes-devtools/gcc/gcc-4.5.0/gcc-poison-system-directories.patch
meta/recipes-devtools/gcc/gcc-4.5.0/zecke-no-host-includes.patch [deleted file]
meta/recipes-devtools/gcc/gcc-cross_4.5.0.bb