summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/SConscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/SConscript b/src/SConscript
index d1b2cfcbb..3ffaeef78 100644
--- a/src/SConscript
+++ b/src/SConscript
@@ -1027,7 +1027,8 @@ if env['HAVE_PROTOC'] and env['HAVE_PROTOBUF']:
Transform("PROTOC")))
# Add the C++ source file
- Source(proto.cc_file, tags=proto.tags)
+ Source(proto.cc_file, tags=proto.tags,
+ append={'CXXFLAGS': '-Wno-array-bounds'})
elif ProtoBuf.all:
error('Got protobuf to build, but lacks support!')