Skip to content

Commit a45c801

Browse files
zcbenzaduh95
authored andcommitted
build: fix build error in sqlite under GN build
PR-URL: #53686 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 40032eb commit a45c801

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

deps/sqlite/unofficial.gni

+8
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,13 @@ template("sqlite_gn_build") {
1818
forward_variables_from(invoker, "*")
1919
public_configs = [ ":sqlite_config" ]
2020
sources = gypi_values.sqlite_sources
21+
if (is_win) {
22+
cflags_c = [
23+
"-Wno-sign-compare",
24+
"-Wno-unused-but-set-variable",
25+
"-Wno-unused-function",
26+
"-Wno-unused-variable",
27+
]
28+
}
2129
}
2230
}

0 commit comments

Comments
 (0)