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: #53686
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
zcbenz authored and aduh95 committed Jul 16, 2024
1 parent 40032eb commit a45c801
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 a45c801

Please sign in to comment.