From 6bb255440bf9b6eeed8cf28c3f3f7963a38c73a7 Mon Sep 17 00:00:00 2001 From: George Stagg Date: Thu, 7 Dec 2023 09:34:05 +0000 Subject: [PATCH] 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. --- libs/recipes/gdal/rules.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/recipes/gdal/rules.mk b/libs/recipes/gdal/rules.mk index 77134481..00339b24 100644 --- a/libs/recipes/gdal/rules.mk +++ b/libs/recipes/gdal/rules.mk @@ -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 && \