summaryrefslogtreecommitdiffstats
path: root/package/qt5/qt5script/qt5script.mk
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-12-10 23:53:54 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-12-11 00:05:52 +0100
commit5b7a4ffd500523b630d7b6a9629d6691d23ece34 (patch)
treeefd710263f1e870702ff4ae2d286cda0d35c2c58 /package/qt5/qt5script/qt5script.mk
parent4d5f4de50e2846375a74237397a9365c73ef5471 (diff)
downloadbuildroot-5b7a4ffd500523b630d7b6a9629d6691d23ece34.tar.gz
buildroot-5b7a4ffd500523b630d7b6a9629d6691d23ece34.zip
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>
Diffstat (limited to 'package/qt5/qt5script/qt5script.mk')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud