From b92e6c3de0fcb6ca800a36e394bc4b49826d5f63 Mon Sep 17 00:00:00 2001 From: Johannes Nixdorf Date: Mon, 16 Apr 2018 19:32:19 +0200 Subject: [PATCH] Disable auto-detection of libxml2 when compiling llvm. --- src/bootstrap/native.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bootstrap/native.rs b/src/bootstrap/native.rs index 2c2cf74d9790f..d952cb5bfc4bc 100644 --- a/src/bootstrap/native.rs +++ b/src/bootstrap/native.rs @@ -149,6 +149,7 @@ impl Step for Llvm { .define("WITH_POLLY", "OFF") .define("LLVM_ENABLE_TERMINFO", "OFF") .define("LLVM_ENABLE_LIBEDIT", "OFF") + .define("LLVM_ENABLE_LIBXML2", "OFF") .define("LLVM_PARALLEL_COMPILE_JOBS", builder.jobs().to_string()) .define("LLVM_TARGET_ARCH", target.split('-').next().unwrap()) .define("LLVM_DEFAULT_TARGET_TRIPLE", target);