Merge pull request #4817 from earhart/master

Add -std=gnu99 when building libgrpc
pull/4818/head
Craig Tiller 9 years ago
commit dfde70757e
  1. 6
      BUILD
  2. 5
      templates/BUILD.template

@ -438,6 +438,9 @@ cc_library(
"//external:zlib", "//external:zlib",
":gpr", ":gpr",
], ],
copts = [
"-std=gnu99",
],
) )
@ -707,6 +710,9 @@ cc_library(
deps = [ deps = [
":gpr", ":gpr",
], ],
copts = [
"-std=gnu99",
],
) )

@ -104,6 +104,11 @@
"${dep}", "${dep}",
% endfor % endfor
], ],
% if lib.name in ("grpc", "grpc_unsecure"):
copts = [
"-std=gnu99",
],
% endif
) )
</%def> </%def>

Loading…
Cancel
Save