mirror of
https://github.com/nodejs/node.git
synced 2024-11-24 12:10:08 +01:00
build: fix GN build for cares/uv deps
PR-URL: https://github.com/nodejs/node/pull/55477 Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
This commit is contained in:
parent
f6cfdb918e
commit
e90704cd9e
8
deps/cares/unofficial.gni
vendored
8
deps/cares/unofficial.gni
vendored
@ -38,7 +38,10 @@ template("cares_gn_build") {
|
||||
]
|
||||
}
|
||||
|
||||
include_dirs = [ "src/lib" ]
|
||||
include_dirs = [
|
||||
"src/lib",
|
||||
"src/lib/include",
|
||||
]
|
||||
if (is_win) {
|
||||
include_dirs += [ "config/win32" ]
|
||||
} else if (is_linux) {
|
||||
@ -55,9 +58,6 @@ template("cares_gn_build") {
|
||||
}
|
||||
|
||||
sources = gypi_values.cares_sources_common
|
||||
if (is_win) {
|
||||
sources += gypi_values.cares_sources_win
|
||||
}
|
||||
if (is_linux) {
|
||||
sources += [ "config/linux/ares_config.h" ]
|
||||
}
|
||||
|
1
deps/uv/unofficial.gni
vendored
1
deps/uv/unofficial.gni
vendored
@ -40,6 +40,7 @@ template("uv_gn_build") {
|
||||
"-Wno-extra-semi",
|
||||
"-Wno-implicit-fallthrough",
|
||||
"-Wno-missing-braces",
|
||||
"-Wno-sign-compare",
|
||||
"-Wno-string-conversion",
|
||||
"-Wno-shadow",
|
||||
"-Wno-unreachable-code",
|
||||
|
@ -68,6 +68,7 @@ template("node_gn_build") {
|
||||
"-Wno-extra-semi",
|
||||
"-Wno-implicit-fallthrough",
|
||||
"-Wno-macro-redefined",
|
||||
"-Wno-missing-braces",
|
||||
"-Wno-return-type",
|
||||
"-Wno-shadow",
|
||||
"-Wno-sometimes-uninitialized",
|
||||
|
Loading…
Reference in New Issue
Block a user