buildroot/package/gcc
Thomas Petazzoni fc3fa082e0 gcc/4.9: 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.9.1, 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
..
4.2.2-avr32-2.1.5 gcc: fix libstdc++_pic for AVR32 2013-08-22 23:06:52 +02:00
4.5.4 gcc-initial, gcc-intermediate, gcc-final: optimize extraction 2013-07-03 23:37:23 +02:00
4.7.4 gcc/4.7: fix C++ exceptions and pthread_exit() 2014-08-17 09:18:29 +02:00
4.8.3 gcc/4.8: fix C++ exceptions and pthread_exit() 2014-08-17 09:19:52 +02:00
4.9.2 gcc/4.9: add patch to warn about unsafe header paths 2014-12-11 00:05:52 +01:00
arc-2014.08 ARC: gcc - fixes for improperly calculated jump/branch offsets 2014-10-08 20:55:28 +02:00
gcc-final package/gcc/mpfr: remove deprecated features 2014-12-01 20:05:59 +01:00
gcc-initial gcc/gcc-initial: fix build of the AVR32 toolchain 2014-10-09 15:27:31 +02:00
Config.in.host package/gcc: set e5500 and e6500 version mask 2014-12-07 23:47:22 +01:00
gcc.mk gcc: do not use BR2_GCC_TARGET_TUNE anymore 2014-11-07 00:14:30 +01:00