diff --git a/deps/nbytes/unofficial.gni b/deps/nbytes/unofficial.gni index 2acea0d5204d04..9fbdefd00ab675 100644 --- a/deps/nbytes/unofficial.gni +++ b/deps/nbytes/unofficial.gni @@ -9,7 +9,7 @@ import("$node_v8_path/gni/v8.gni") # prevent accidental edits from contributors. template("nbytes_gn_build") { config("nbytes_config") { - include_dirs = [ "include" ] + include_dirs = [ ".", "include" ] } gypi_values = exec_script("../../tools/gypi_to_gn.py", diff --git a/deps/nghttp2/unofficial.gni b/deps/nghttp2/unofficial.gni index 6b3f23a7b0b662..d7c6bb89652753 100644 --- a/deps/nghttp2/unofficial.gni +++ b/deps/nghttp2/unofficial.gni @@ -34,6 +34,7 @@ template("nghttp2_gn_build") { if (is_clang || !is_win) { cflags_c = [ "-Wno-implicit-fallthrough", + "-Wno-extra-semi", ] } } diff --git a/deps/sqlite/unofficial.gni b/deps/sqlite/unofficial.gni index ebb3ffcd6d42b4..98dfda4f2ad1b5 100644 --- a/deps/sqlite/unofficial.gni +++ b/deps/sqlite/unofficial.gni @@ -25,6 +25,13 @@ template("sqlite_gn_build") { "-Wno-unused-function", "-Wno-unused-variable", ] + } else { + cflags_c = [ + "-Wno-implicit-fallthrough", + "-Wno-unreachable-code", + "-Wno-unreachable-code-break", + "-Wno-unreachable-code-return", + ] } } }