| 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 7f3ad2ca834640aba399ee7ef15520ad2178cbbf..5fdebf9cd54a162caf182cd8605ed2ab14e9402c 100644
|
| --- a/net/third_party/nss/ssl/BUILD.gn
|
| +++ b/net/third_party/nss/ssl/BUILD.gn
|
| @@ -8,6 +8,14 @@ config("ssl_config") {
|
| if (is_mac || is_win) {
|
| defines = [ "NSS_PLATFORM_CLIENT_AUTH" ]
|
| }
|
| +
|
| + if (is_clang) {
|
| + cflags = [
|
| + # There is a broken header guard in /usr/include/nss/secmod.h:
|
| + # https://bugzilla.mozilla.org/show_bug.cgi?id=884072
|
| + "-Wno-header-guard",
|
| + ]
|
| + }
|
| }
|
|
|
| component("libssl") {
|
| @@ -126,10 +134,6 @@ component("libssl") {
|
| # See http://crbug.com/138571#c8. In short, sslsecur.c picks up the
|
| # system's cert.h because cert.h isn't in chromium's repo.
|
| "-Wno-incompatible-pointer-types",
|
| -
|
| - # There is a broken header guard in /usr/include/nss/secmod.h:
|
| - # https://bugzilla.mozilla.org/show_bug.cgi?id=884072
|
| - "-Wno-header-guard",
|
| ]
|
| }
|
|
|
|
|