Skip to content

Commit

Permalink
build: fix build error in sqlite under GN build
Browse files Browse the repository at this point in the history
PR-URL: nodejs#53686
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
zcbenz committed Jul 7, 2024
1 parent 7e80584 commit 11f4efc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions deps/sqlite/unofficial.gni
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,13 @@ template("sqlite_gn_build") {
forward_variables_from(invoker, "*")
public_configs = [ ":sqlite_config" ]
sources = gypi_values.sqlite_sources
if (is_win) {
cflags_c = [
"-Wno-sign-compare",
"-Wno-unused-but-set-variable",
"-Wno-unused-function",
"-Wno-unused-variable",
]
}
}
}

0 comments on commit 11f4efc

Please sign in to comment.