aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Cozzette <acozzette@gmail.com>2017-04-04 09:34:06 -0700
committerGitHub <noreply@github.com>2017-04-04 09:34:06 -0700
commit139fd0a1c59cdf1f9167e9d3c13428bea7aca85e (patch)
treefd563a953a70cade652c5ec5813c765ed54ffde6
parent37c7b766b39b5d86e6bb920d1664d91dcf8399e7 (diff)
parentdd04ffb923d2048a9ba054f2099d450bea4fae68 (diff)
downloadprotobuf-139fd0a1c59cdf1f9167e9d3c13428bea7aca85e.tar.gz
protobuf-139fd0a1c59cdf1f9167e9d3c13428bea7aca85e.tar.bz2
protobuf-139fd0a1c59cdf1f9167e9d3c13428bea7aca85e.zip
Merge pull request #2933 from mharrend/patch-1
Adding default shell env to allow non-default compilers
-rw-r--r--protobuf.bzl1
1 files changed, 1 insertions, 0 deletions
diff --git a/protobuf.bzl b/protobuf.bzl
index 73c396d5..9cb17f01 100644
--- a/protobuf.bzl
+++ b/protobuf.bzl
@@ -108,6 +108,7 @@ def _proto_gen_impl(ctx):
arguments=args + import_flags + [s.path for s in srcs],
executable=ctx.executable.protoc,
mnemonic="ProtoCompile",
+ use_default_shell_env=True,
)
return struct(