Skip to content

Commit

Permalink
Fix GN build
Browse files Browse the repository at this point in the history
# Conflicts:
#	deps/nbytes/unofficial.gni
  • Loading branch information
victorgomes committed Aug 13, 2024
1 parent 60f9589 commit 4d32563
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deps/nbytes/unofficial.gni
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import("$node_v8_path/gni/v8.gni")
# prevent accidental edits from contributors.
template("nbytes_gn_build") {
config("nbytes_config") {
include_dirs = [ "include" ]
include_dirs = [ ".", "include" ]
}

gypi_values = exec_script("../../tools/gypi_to_gn.py",
Expand Down
1 change: 1 addition & 0 deletions deps/nghttp2/unofficial.gni
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ template("nghttp2_gn_build") {
if (is_clang || !is_win) {
cflags_c = [
"-Wno-implicit-fallthrough",
"-Wno-extra-semi",
]
}
}
Expand Down
7 changes: 7 additions & 0 deletions deps/sqlite/unofficial.gni
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ template("sqlite_gn_build") {
"-Wno-unused-function",
"-Wno-unused-variable",
]
} else {
cflags_c = [
"-Wno-implicit-fallthrough",
"-Wno-unreachable-code",
"-Wno-unreachable-code-break",
"-Wno-unreachable-code-return",
]
}
}
}

0 comments on commit 4d32563

Please sign in to comment.