| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,2 @@ | |||
| 1 | + Allows -Wno-int-conversion for wasm-sdk 17 and onwards, thus enables | ||
| 2 | + building WASI builds once against the latest sdk. | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -37,3 +37,6 @@ ac_cv_header_netpacket_packet_h=no | |||
| 37 | 37 | # disable accept for WASM runtimes without sock_accept | |
| 38 | 38 | #ac_cv_func_accept=no | |
| 39 | 39 | #ac_cv_func_accept4=no | |
| 40 | + | ||
| 41 | + # Disable int-conversion for wask-sdk as it triggers an error from version 17. | ||
| 42 | + ac_cv_disable_int_conversion=yes | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2288,6 +2288,10 @@ yes) | |||
| 2288 | 2288 | AS_VAR_IF([ac_cv_disable_unused_parameter_warning], [yes], | |
| 2289 | 2289 | [CFLAGS_NODIST="$CFLAGS_NODIST -Wno-unused-parameter"]) | |
| 2290 | 2290 | ||
| 2291 | + PY_CHECK_CC_WARNING([disable], [int-conversion]) | ||
| 2292 | + AS_VAR_IF([ac_cv_disable_int_conversion], [yes], | ||
| 2293 | + [CFLAGS_NODIST="$CFLAGS_NODIST -Wno-int-conversion"]) | ||
| 2294 | + | ||
| 2291 | 2295 | PY_CHECK_CC_WARNING([disable], [missing-field-initializers]) | |
| 2292 | 2296 | AS_VAR_IF([ac_cv_disable_missing_field_initializers_warning], [yes], | |
| 2293 | 2297 | [CFLAGS_NODIST="$CFLAGS_NODIST -Wno-missing-field-initializers"]) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments