Skip to content

Commit b92e6c3

Browse files
committed
Disable auto-detection of libxml2 when compiling llvm.
1 parent 257d43d commit b92e6c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap/native.rs

+1
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ impl Step for Llvm {
149149
.define("WITH_POLLY", "OFF")
150150
.define("LLVM_ENABLE_TERMINFO", "OFF")
151151
.define("LLVM_ENABLE_LIBEDIT", "OFF")
152+
.define("LLVM_ENABLE_LIBXML2", "OFF")
152153
.define("LLVM_PARALLEL_COMPILE_JOBS", builder.jobs().to_string())
153154
.define("LLVM_TARGET_ARCH", target.split('-').next().unwrap())
154155
.define("LLVM_DEFAULT_TARGET_TRIPLE", target);

0 commit comments

Comments
 (0)