| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4adea6c commit d8b86ad
1 file 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 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments