File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,10 @@ template("ngtcp2_gn_build") {
38
38
" _WINDOWS" ,
39
39
" HAVE_CONFIG_H" ,
40
40
]
41
+ } else {
42
+ defines += [
43
+ " HAVE_UNISTD_H" ,
44
+ ]
41
45
}
42
46
if (is_linux ) {
43
47
defines += [
@@ -53,16 +57,19 @@ template("ngtcp2_gn_build") {
53
57
" nghttp3/lib/"
54
58
]
55
59
56
- sources = gypi_values .nghttp3 _sources + gypi_values .ngtcp2 _sources
60
+ sources = gypi_values .nghttp3 _sources +
61
+ gypi_values .ngtcp2 _sources +
62
+ gypi_values .ngtcp2 _sources_quictls
57
63
if (node_use_openssl ) {
58
- sources += gypi_values .ngtcp2 _sources_openssl
59
64
deps = [ " ../openssl" ]
60
65
}
61
66
62
67
if (is_clang || ! is_win ) {
63
68
cflags_c = [
64
69
" -Wno-extra-semi" ,
65
70
" -Wno-implicit-fallthrough" ,
71
+ # Remove after https://github.com/ngtcp2/ngtcp2/issues/1050 is fixed.
72
+ " -Wno-sometimes-uninitialized" ,
66
73
]
67
74
}
68
75
}
You can’t perform that action at this time.
0 commit comments