aboutsummaryrefslogtreecommitdiffhomepage
path: root/WORKSPACE
diff options
context:
space:
mode:
authorGravatar hlopko <hlopko@google.com>2018-02-19 05:07:57 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2018-02-19 05:09:16 -0800
commitb3d52b1b6d46a0f23cc91125c1d522e9d13433b4 (patch)
tree4e5b14ce22b124b1d04baa5621fc7e57990d6d99 /WORKSPACE
parent2a2aa7ab31367da47f8449059fdfcddfba3a20f1 (diff)
Fix incorrect include directories when -no-canonical-prefixes is passed to clang
With https://github.com/bazelbuild/bazel/commit/e99279bcce475249e58543a5330fa35e59acd7e8 we started passing -no-canonical-prefixes to clang, but that causes inconsistent directories used in .d files and system include directories. The solution is to pass -no-canonical-prefixes also when asking clang for system include directories. Interestingly, clang in debian breaks when called like: `clang -E -xc++ - -v -no-canonical-prefixes` we have to pass absolute path to the binary like: `/usr/bin/clang -E -xc++ - -v -no-canonical-prefixes` then it works. Fixes #4572. RELNOTES: None. PiperOrigin-RevId: 186210671
Diffstat (limited to 'WORKSPACE')
0 files changed, 0 insertions, 0 deletions