kumquat-buildroot/package/gcc/arc-2014.08
Thomas Petazzoni 4d5f4de50e gcc/arc-2014.08: 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 arc-2014.08,
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-libstdcxx-uclibc-c99.patch
200-size_type_unsigned_int.patch
300-ptrdiff_type_int.patch gcc: add new fix for the ARC 2014.08 gcc version 2014-09-23 22:14:15 +02:00
400-call-arc_hazard-before-branch-shortening.patch ARC: gcc - fixes for improperly calculated jump/branch offsets 2014-10-08 20:55:28 +02:00
401-fix-length-attribute-for-casesi_load-pattern.patch ARC: gcc - fixes for improperly calculated jump/branch offsets 2014-10-08 20:55:28 +02:00
402-fix-length-of-instructions-that-are-in-delay-slot-and-needs-to-be-predicated.patch ARC: gcc - fixes for improperly calculated jump/branch offsets 2014-10-08 20:55:28 +02:00
403-update-casesi_compact_jump-instruction-length.patch ARC: gcc - fixes for improperly calculated jump/branch offsets 2014-10-08 20:55:28 +02:00
910-gcc-poison-system-directories.patch gcc/arc-2014.08: add patch to warn about unsafe header paths 2014-12-11 00:05:52 +01:00