Skip to content

Commit

Permalink
build: fix GN build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
zcbenz committed Feb 12, 2025
1 parent b07ff55 commit fdbf8fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions deps/zstd/unofficial.gni
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
Expand Down
2 changes: 2 additions & 0 deletions unofficial.gni
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit fdbf8fd

Please sign in to comment.