Index: build/secondary/third_party/nss/BUILD.gn |
diff --git a/build/secondary/third_party/nss/BUILD.gn b/build/secondary/third_party/nss/BUILD.gn |
index 7060f0796b60ef8376bc6e22b8a5a24ff4f25a3e..7b32a04cbf850f9d902011f12cc2466cc6320b0e 100644 |
--- a/build/secondary/third_party/nss/BUILD.gn |
+++ b/build/secondary/third_party/nss/BUILD.gn |
@@ -1188,6 +1188,9 @@ if (is_linux) { |
# nss doesn"t explicitly cast between different enum types. |
"-Wno-conversion", |
+ # nss passes "const char*" through "void*". |
+ "-Wno-incompatible-pointer-types", |
+ |
# nss prefers `a && b || c` over `(a && b) || c`. |
"-Wno-logical-op-parentheses", |
@@ -1196,6 +1199,9 @@ if (is_linux) { |
# nss has some `unsigned < 0` checks. |
"-Wno-tautological-compare", |
+ |
+ # nss-urandom-abort.patch removed the only call to rng_systemFromNoise |
+ "-Wno-unused-function", |
] |
} |