Disable -Wsentinel warning for Linux 32-bit builds.
BUG=chromium:644167
NOTRY=True
Review-Url: https://codereview.webrtc.org/2316943002
Cr-Original-Commit-Position: refs/heads/master@{#14099}
Cr-Mirrored-From: https://chromium.googlesource.com/external/webrtc
Cr-Mirrored-Commit: d4626e5f1e1923072fe242539e227d507c91b3d4
diff --git a/examples/BUILD.gn b/examples/BUILD.gn
index 2d69127..8cd301e 100644
--- a/examples/BUILD.gn
+++ b/examples/BUILD.gn
@@ -389,6 +389,12 @@
"-Wno-sign-compare",
]
}
+ if (is_linux && target_cpu == "x86") {
+ cflags = [
+ # Needed to compile on Linux 32-bit.
+ "-Wno-sentinel",
+ ]
+ }
}
rtc_executable("peerconnection_client") {
@@ -445,6 +451,7 @@
deps += [ "//third_party/jsoncpp" ]
}
}
+
rtc_executable("peerconnection_server") {
sources = [
"peerconnection/server/data_socket.cc",