| Index: webrtc/BUILD.gn
|
| diff --git a/webrtc/BUILD.gn b/webrtc/BUILD.gn
|
| index 1f7f37f12b40110fa13495b16f1a172264c1afbd..6ac814349561729b436950d9916a398b66515f0a 100644
|
| --- a/webrtc/BUILD.gn
|
| +++ b/webrtc/BUILD.gn
|
| @@ -179,6 +179,15 @@ config("common_config") {
|
| "-Winconsistent-missing-override",
|
| "-Wundef",
|
| ]
|
| +
|
| + # use_xcode_clang only refers to the iOS toolchain, host binaries use
|
| + # chromium's clang always.
|
| + if (!is_nacl &&
|
| + (!use_xcode_clang || current_toolchain == host_toolchain)) {
|
| + # Flags NaCl (Clang 3.7) and Xcode 7.3 (Clang clang-703.0.31) do not
|
| + # recognize.
|
| + cflags += [ "-Wunused-lambda-capture" ]
|
| + }
|
| }
|
| }
|
|
|
|
|