aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeng Xiao <xiaofeng@google.com>2015-11-03 15:22:12 -0800
committerFeng Xiao <xiaofeng@google.com>2015-11-03 15:22:12 -0800
commit55ad57a235c009d0414aed1781072adda0c89137 (patch)
tree2f092a1a74ade12ceb545d0d5ab9000b42a08b8a
parent0cf6198cf1fe66bf45f6d4ce8f4b5d7e902b22c1 (diff)
parent38f131fd8c294afea9c374ae5afcb8c8d1c9bf23 (diff)
downloadprotobuf-55ad57a235c009d0414aed1781072adda0c89137.tar.gz
protobuf-55ad57a235c009d0414aed1781072adda0c89137.tar.bz2
protobuf-55ad57a235c009d0414aed1781072adda0c89137.zip
Merge pull request #936 from andrewharp/patch-1
Build protoc for host platform to enable cross-compilation.
-rw-r--r--protobuf.bzl1
1 files changed, 1 insertions, 0 deletions
diff --git a/protobuf.bzl b/protobuf.bzl
index 9ed7c54a..86c6f251 100644
--- a/protobuf.bzl
+++ b/protobuf.bzl
@@ -81,6 +81,7 @@ _proto_gen = rule(
"deps": attr.label_list(providers = ["proto"]),
"includes": attr.string_list(),
"protoc": attr.label(
+ cfg = HOST_CFG,
executable = True,
single_file = True,
mandatory = True,