aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/BUILD.template
diff options
context:
space:
mode:
authorGravatar Rob Earhart <earhart@google.com>2016-01-21 13:43:09 -0800
committerGravatar Rob Earhart <earhart@google.com>2016-01-21 13:43:09 -0800
commitaf379b2185f6cc35b4819f832fe947fab652cf3b (patch)
tree277c4af0722382596970a584073fd87e06e99433 /templates/BUILD.template
parentbf363c0561dae4e0831d66e3a2a97c6d36afdcbe (diff)
Add -std=gnu99 when building libgrpc
Diffstat (limited to 'templates/BUILD.template')
-rw-r--r--templates/BUILD.template5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/BUILD.template b/templates/BUILD.template
index bb18c353b1..54dc697125 100644
--- a/templates/BUILD.template
+++ b/templates/BUILD.template
@@ -104,6 +104,11 @@
"${dep}",
% endfor
],
+ % if lib.name in ("grpc", "grpc_unsecure"):
+ copts = [
+ "-std=gnu99",
+ ],
+ % endif
)
</%def>