Disable -Wsentinel warning for Linux 32-bit builds.

BUG=chromium:644167
NOTRY=True

Review-Url: https://codereview.webrtc.org/2316943002
Cr-Commit-Position: refs/heads/master@{#14099}
This commit is contained in:
kjellander 2016-09-07 02:33:01 -07:00 committed by Commit bot
parent 60e4346955
commit d4626e5f1e

View File

@ -389,6 +389,12 @@ if (is_linux || is_win) {
"-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 @@ if (is_linux || is_win) {
deps += [ "//third_party/jsoncpp" ]
}
}
rtc_executable("peerconnection_server") {
sources = [
"peerconnection/server/data_socket.cc",