aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/flatbuffers
diff options
context:
space:
mode:
authorGravatar Sourabh Bajaj <sourabhbajaj@google.com>2017-11-30 16:37:11 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-11-30 16:41:01 -0800
commitb2db981a6731e978453862a73dab892bc674db68 (patch)
treec11a7c4038e2595268113c2859c1d0d3072ede4f /third_party/flatbuffers
parent0438ac79bdb503ed267bec2146e7136ac8e99ff9 (diff)
Merge changes from github.
PiperOrigin-RevId: 177526301
Diffstat (limited to 'third_party/flatbuffers')
-rw-r--r--third_party/flatbuffers/flatbuffers.BUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/third_party/flatbuffers/flatbuffers.BUILD b/third_party/flatbuffers/flatbuffers.BUILD
index e1563103c8..0a76adcf91 100644
--- a/third_party/flatbuffers/flatbuffers.BUILD
+++ b/third_party/flatbuffers/flatbuffers.BUILD
@@ -6,8 +6,11 @@ licenses(["notice"]) # Apache 2.0
FLATBUFFERS_COPTS = [
"-fexceptions",
- "-Wno-implicit-fallthrough",
-]
+] + select({
+ "@bazel_tools//src:windows": [],
+ "@bazel_tools//src:windows_msvc": [],
+ "//conditions:default": ["-Wno-implicit-fallthrough"],
+})
# Public flatc library to compile flatbuffer files at runtime.
cc_library(