From 31ec916c650db853c3fee322c97ae1577425cc88 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 18 Jul 2022 11:28:03 -0700 Subject: [PATCH] Set `LLVM_ENABLE_LIBXML2` to `OFF`. This attempts to disable the use of libxml2. I am currently unaware of any functionality needed by wasi-sdk users that involves reading XML files. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index dc5139b..09841c3 100644 --- a/Makefile +++ b/Makefile @@ -66,6 +66,7 @@ build/llvm.BUILT: -DDEFAULT_SYSROOT=$(PREFIX)/share/wasi-sysroot), \ -DDEFAULT_SYSROOT=$(PREFIX)/share/wasi-sysroot) \ -DLLVM_INSTALL_BINUTILS_SYMLINKS=TRUE \ + -DLLVM_ENABLE_LIBXML2=OFF \ $(LLVM_PROJ_DIR)/llvm DESTDIR=$(DESTDIR) ninja $(NINJA_FLAGS) -C build/llvm \ install-clang \