Index: build/config/compiler/BUILD.gn |
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn |
index c04a109d2e7321c259bf067f5e06d4c0323ce798..1ebd6c0b12b272328bdd840fc7723cd88f3c018d 100644 |
--- a/build/config/compiler/BUILD.gn |
+++ b/build/config/compiler/BUILD.gn |
@@ -1078,6 +1078,12 @@ config("default_warnings") { |
# TODO(hans): https://crbug.com/637306 |
"-Wno-address-of-packed-member", |
] |
+ if (llvm_force_head_revision) { |
+ cflags += [ |
+ # TODO(hans): https://crbug.com/681136 |
+ "-Wno-unused-lambda-capture", |
+ ] |
+ } |
} |
} |
} |