Skip to content

Commit

Permalink
Don't use -Wdocumentation flag when building gdal
Browse files Browse the repository at this point in the history
Avoids an LLVM crash introduced by upgrading Emscripten to 3.1.47.

See upstream issue llvm/llvm-project#68524 for details.
  • Loading branch information
georgestagg committed Dec 7, 2023
1 parent e0374db commit 6bb2554
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/recipes/gdal/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ $(GDAL_WASM_LIB): $(GDAL_TARBALL) $(PROJ_WASM_LIB) $(GEOS_WASM_LIB)
-DGDAL_ENABLE_DRIVER_HDF5=OFF \
-DGDAL_USE_HDF4=OFF \
-DGDAL_USE_HDF5=OFF \
-DHAVE_WFLAG_DOCUMENTATION_AND_NO_DEPRECATED=OFF \
.. && \
sed -i.bak 's/#define ICONV_CPP_CONST const/#define ICONV_CPP_CONST/' port/cpl_config.h && \
emmake make install && \
Expand Down

0 comments on commit 6bb2554

Please sign in to comment.