build: fix GN build failure
PR-URL: https://github.com/nodejs/node/pull/57013 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
This commit is contained in:
parent
59cdd4f1c2
commit
44e2671b44
1
deps/zstd/unofficial.gni
vendored
1
deps/zstd/unofficial.gni
vendored
@ -19,6 +19,7 @@ template("zstd_gn_build") {
|
||||
public_configs = [ ":zstd_config" ]
|
||||
sources = gypi_values.zstd_sources
|
||||
defines = [ "XXH_NAMESPACE=ZSTD_", "ZSTD_MULTITHREAD", "ZSTD_DISABLE_ASM" ]
|
||||
cflags_c = [ "-Wno-unused-function" ]
|
||||
|
||||
if (is_posix) {
|
||||
ldflags = [ "-pthread" ]
|
||||
|
@ -74,6 +74,7 @@ template("node_gn_build") {
|
||||
"-Wno-implicit-fallthrough",
|
||||
"-Wno-macro-redefined",
|
||||
"-Wno-missing-braces",
|
||||
"-Wno-range-loop-bind-reference",
|
||||
"-Wno-return-type",
|
||||
"-Wno-shadow",
|
||||
"-Wno-sometimes-uninitialized",
|
||||
@ -160,6 +161,7 @@ template("node_gn_build") {
|
||||
"deps/postject",
|
||||
"deps/sqlite",
|
||||
"deps/uvwasi",
|
||||
"deps/zstd",
|
||||
"//third_party/zlib",
|
||||
"$node_simdutf_path",
|
||||
"$node_v8_path:v8_libplatform",
|
||||
|
Loading…
x
Reference in New Issue
Block a user