diff --git a/deps/nghttp2/unofficial.gni b/deps/nghttp2/unofficial.gni index 6b3f23a7b0b662..4558fbbf5e5f82 100644 --- a/deps/nghttp2/unofficial.gni +++ b/deps/nghttp2/unofficial.gni @@ -34,6 +34,9 @@ template("nghttp2_gn_build") { if (is_clang || !is_win) { cflags_c = [ "-Wno-implicit-fallthrough", + # Ref https://github.com/nghttp2/nghttp2/pull/2258 + # This can be removed when the above PR is ingested. + "-Wno-extra-semi", ] } } diff --git a/deps/sqlite/unofficial.gni b/deps/sqlite/unofficial.gni index ebb3ffcd6d42b4..6eda916ad23e07 100644 --- a/deps/sqlite/unofficial.gni +++ b/deps/sqlite/unofficial.gni @@ -18,8 +18,14 @@ template("sqlite_gn_build") { forward_variables_from(invoker, "*") public_configs = [ ":sqlite_config" ] sources = gypi_values.sqlite_sources + cflags_c = [ + "-Wno-implicit-fallthrough", + "-Wno-unreachable-code-return", + "-Wno-unreachable-code-break", + "-Wno-unreachable-code", + ] if (is_win) { - cflags_c = [ + cflags_c += [ "-Wno-sign-compare", "-Wno-unused-but-set-variable", "-Wno-unused-function",