summaryrefslogtreecommitdiffstats
path: root/package/gcc
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-12-10 23:53:50 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-12-11 00:05:52 +0100
commit43609b30e9945fa860530c301e2ae2c8a768ce94 (patch)
tree5358f0b07543981a2f6ca23a754aac902080d048 /package/gcc
parentdf8dcbcd81fbcf78663be316cb612e6cd5601ea3 (diff)
downloadbuildroot-43609b30e9945fa860530c301e2ae2c8a768ce94.tar.gz
buildroot-43609b30e9945fa860530c301e2ae2c8a768ce94.zip
binutils/arc-2014.08: add patch to warn about unsafe library paths
This commit adds a patch to binutils borrowed from CodeSourcery/Yocto that warns about unsafe library paths (i.e /usr/lib, /usr/local/lib, etc.). The patch was adapted to binutils 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 --error-poison-system-directories, we are not sure this option in LDFLAGS 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/gcc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud