X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fbootstrap%2Fnative.rs;h=8b50d5dc52bc179ee08c33ef91dd76e37f556c0e;hb=caac670a16eb61620b5fe3bed2a31e8a8b93075a;hp=4d548dbb6387530d98c3bab7a0385f1f9fbed237;hpb=867453e2df14a738c02b74a9874e20dae2501dc2;p=rust.git diff --git a/src/bootstrap/native.rs b/src/bootstrap/native.rs index 4d548dbb638..8b50d5dc52b 100644 --- a/src/bootstrap/native.rs +++ b/src/bootstrap/native.rs @@ -325,6 +325,9 @@ fn run(self, builder: &Builder<'_>) -> PathBuf { cfg.define("LLVM_PROFDATA_FILE", &path); } + // Disable zstd to avoid a dependency on libzstd.so. + cfg.define("LLVM_ENABLE_ZSTD", "OFF"); + if target != "aarch64-apple-darwin" && !target.contains("windows") { cfg.define("LLVM_ENABLE_ZLIB", "ON"); } else {