Index: net/third_party/nss/ssl/BUILD.gn |
diff --git a/net/third_party/nss/ssl/BUILD.gn b/net/third_party/nss/ssl/BUILD.gn |
index a40b71b0776486f78b977ac84ffd123c1cda7017..d8f796122b51e8ced044958f21af49e30b0f99e9 100644 |
--- a/net/third_party/nss/ssl/BUILD.gn |
+++ b/net/third_party/nss/ssl/BUILD.gn |
@@ -96,6 +96,10 @@ component("libssl") { |
if (is_clang) { |
# SSL triggers some of these Clang warnings. |
configs -= [ "//build/config/clang:extra_warnings" ] |
+ |
+ # There is a broken header guard in /usr/include/nss/secmod.h: |
+ # https://bugzilla.mozilla.org/show_bug.cgi?id=884072 |
+ cflags = [ "-Wno-header-guard" ] |
} |
if (is_posix) { |