mirror of
https://github.com/nodejs/node.git
synced 2025-12-28 16:07:39 +00:00
build: fix warning in cares under GN build
This change can be removed after the upstream fix lands in Node: https://github.com/c-ares/c-ares/pull/709 PR-URL: https://github.com/nodejs/node/pull/51687 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
This commit is contained in:
parent
0992002d99
commit
f22802ceb8
2
deps/cares/unofficial.gni
vendored
2
deps/cares/unofficial.gni
vendored
@ -69,6 +69,8 @@ template("cares_gn_build") {
|
||||
cflags_c = [
|
||||
"-Wno-implicit-fallthrough",
|
||||
"-Wno-unreachable-code",
|
||||
# Remove after https://github.com/c-ares/c-ares/pull/709 lands in Node.
|
||||
"-Wno-unused-result",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user