summaryrefslogtreecommitdiff
path: root/build_extra/flatbuffers/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'build_extra/flatbuffers/BUILD.gn')
-rw-r--r--build_extra/flatbuffers/BUILD.gn4
1 files changed, 4 insertions, 0 deletions
diff --git a/build_extra/flatbuffers/BUILD.gn b/build_extra/flatbuffers/BUILD.gn
index b46cb3d2c..d3ace99c5 100644
--- a/build_extra/flatbuffers/BUILD.gn
+++ b/build_extra/flatbuffers/BUILD.gn
@@ -13,6 +13,10 @@ config("flatbuffers_config") {
cflags = [
"-Wno-exit-time-destructors",
"-Wno-header-hygiene",
+
+ # TODO: rust branch of flatbuffers has this warning.
+ # This should be removed when the branch fixed.
+ "-Wno-return-type",
]
}
}