Skip to content

Commit 6bb2554

Browse files
committed
Don't use -Wdocumentation flag when building gdal
Avoids an LLVM crash introduced by upgrading Emscripten to 3.1.47. See upstream issue llvm/llvm-project#68524 for details.
1 parent e0374db commit 6bb2554

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/recipes/gdal/rules.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ $(GDAL_WASM_LIB): $(GDAL_TARBALL) $(PROJ_WASM_LIB) $(GEOS_WASM_LIB)
3939
-DGDAL_ENABLE_DRIVER_HDF5=OFF \
4040
-DGDAL_USE_HDF4=OFF \
4141
-DGDAL_USE_HDF5=OFF \
42+
-DHAVE_WFLAG_DOCUMENTATION_AND_NO_DEPRECATED=OFF \
4243
.. && \
4344
sed -i.bak 's/#define ICONV_CPP_CONST const/#define ICONV_CPP_CONST/' port/cpl_config.h && \
4445
emmake make install && \

0 commit comments

Comments
 (0)