about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAndy Wang <cbeuw.andy@gmail.com>2023-06-22 18:48:29 +0200
committerAndy Wang <cbeuw.andy@gmail.com>2023-06-22 18:48:29 +0200
commitc37afcd323eba42e671dcf3430cb61912e223be1 (patch)
tree9758f03dbca40e8f35899f194786f23125033d36 /src
parentfa06a371b715f137c952577cfded4e49cb7e76c4 (diff)
downloadrust-c37afcd323eba42e671dcf3430cb61912e223be1.tar.gz
rust-c37afcd323eba42e671dcf3430cb61912e223be1.zip
Enable zlib in LLVM on aarch64-apple-darwin
Diffstat (limited to 'src')
-rw-r--r--src/bootstrap/llvm.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/llvm.rs b/src/bootstrap/llvm.rs
index 4752b1f7ea1..2cf8b22d02c 100644
--- a/src/bootstrap/llvm.rs
+++ b/src/bootstrap/llvm.rs
@@ -352,7 +352,7 @@ impl Step for Llvm {
         // Disable zstd to avoid a dependency on libzstd.so.
         cfg.define("LLVM_ENABLE_ZSTD", "OFF");
 
-        if target != "aarch64-apple-darwin" && !target.contains("windows") {
+        if !target.contains("windows") {
             cfg.define("LLVM_ENABLE_ZLIB", "ON");
         } else {
             cfg.define("LLVM_ENABLE_ZLIB", "OFF");