mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
build: fix GN build for sqlite and nghttp2
PR-URL: https://github.com/nodejs/node/pull/55529 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Cheng Zhao <zcbenz@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
parent
5d4fee8975
commit
c35cbcde4b
2 changed files with 10 additions and 1 deletions
3
deps/nghttp2/unofficial.gni
vendored
3
deps/nghttp2/unofficial.gni
vendored
|
@ -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",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
8
deps/sqlite/unofficial.gni
vendored
8
deps/sqlite/unofficial.gni
vendored
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue