aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2018-10-24 16:48:41 +0200
committerGravatar Jan Tattermusch <jtattermusch@google.com>2018-10-24 23:31:54 +0200
commit9e4b7622039f8d17cb479815a7442acde52cf01d (patch)
tree88bf7efe883d624c2dd7c342f4f62f9096fc6017 /tools
parent1b1fdfd89206aedffe2a6763ab547061f9d2a49f (diff)
Add suggested alias for bazelrc import location
Diffstat (limited to 'tools')
-rw-r--r--tools/bazel.rc5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/bazel.rc b/tools/bazel.rc
index 5b107210c6..bfdbc0cacb 100644
--- a/tools/bazel.rc
+++ b/tools/bazel.rc
@@ -1,3 +1,8 @@
+# bazelrc file
+# bazel >= 0.18 looks for %workspace%/.bazelrc (which redirects here)
+# Older bazel versions look for %workspace%/tools/bazel.rc (this file)
+# See https://github.com/bazelbuild/bazel/issues/6319
+
build --client_env=CC=clang
build --copt=-DGRPC_BAZEL_BUILD