kumquat-buildroot/package/gcc/4.7.4
Thomas Petazzoni 5b7a4ffd50 gcc/4.7: add patch to warn about unsafe header paths
This commit adds a patch to gcc borrowed from CodeSourcery/Yocto that
warns about unsafe include paths (i.e /usr/include,
/usr/local/include, etc.). The patch was adapted to gcc 4.7.4, and
modified to support the BR_COMPILER_PARANOID_UNSAFE_PATH environment
variable to error out instead of just warn when unsafe paths are
used. Even though erroring out can be chosen by passing
-Werror=poison-system-directories, we are not sure this option in
CFLAGS will always be passed, so having an environment variable
guarantees it will always be passed, and also allows to have an
identical behavior to the external toolchain wrapper.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Romain Naour <romain.naour@openwide.fr>
2014-12-11 00:05:52 +01:00
..
100-uclibc-conf.patch
301-missing-execinfo_h.patch
305-libmudflap-susv3-legacy.patch
810-arm-softfloat-libgcc.patch
830-arm_unbreak_armv4t.patch
843-gcc-4.7.3-Fix-PR-target-58595.patch
850-libstdcxx-uclibc-c99.patch
900-musl-support.patch
910-gcc-poison-system-directories.patch
powerpc-link-with-math-lib.patch.conditional