Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1277)

Unified Diff: webrtc/examples/BUILD.gn

Issue 2316943002: Disable -Wsentinel warning for Linux 32-bit builds. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/examples/BUILD.gn
diff --git a/webrtc/examples/BUILD.gn b/webrtc/examples/BUILD.gn
index de88afb1defc9feaff787d3edb21a8ee74fced3f..4c920c91b0b5319f8e3ebb30eaee0686a4cb28e8 100644
--- a/webrtc/examples/BUILD.gn
+++ b/webrtc/examples/BUILD.gn
@@ -402,6 +402,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") {
@@ -453,6 +459,7 @@ if (is_linux || is_win) {
deps += [ "//third_party/jsoncpp" ]
}
}
+
rtc_executable("peerconnection_server") {
sources = [
"peerconnection/server/data_socket.cc",
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698