summaryrefslogtreecommitdiffstats
path: root/build/secondary
diff options
context:
space:
mode:
Diffstat (limited to 'build/secondary')
-rw-r--r--build/secondary/third_party/nss/BUILD.gn6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/secondary/third_party/nss/BUILD.gn b/build/secondary/third_party/nss/BUILD.gn
index 7060f07..7b32a04 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",
]
}