]> git.lizzy.rs Git - rust.git/commitdiff
Disable auto-detection of libxml2 when compiling llvm.
authorJohannes Nixdorf <mixi@exherbo.org>
Mon, 16 Apr 2018 17:32:19 +0000 (19:32 +0200)
committerJohannes Nixdorf <mixi@shadowice.org>
Fri, 20 Apr 2018 09:07:24 +0000 (11:07 +0200)
src/bootstrap/native.rs

index 2c2cf74d9790f554acf00e7da21a778d68820b46..d952cb5bfc4bcab8c59fa3412243d63b13581206 100644 (file)
@@ -149,6 +149,7 @@ fn run(self, builder: &Builder) -> PathBuf {
            .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);