diff options
| author | Mike Hommey <mh@glandium.org> | 2020-08-14 06:01:15 +0900 |
|---|---|---|
| committer | Mike Hommey <mh@glandium.org> | 2020-08-14 06:01:15 +0900 |
| commit | 9302c17d18feffb26b4b8812dead594dee1ea858 (patch) | |
| tree | 3fd957f46c6e7df32ca45bcbe49de1c0e275bc62 | |
| parent | b6396b75e782954acb085447fb836c4e0ff5281d (diff) | |
| download | rust-9302c17d18feffb26b4b8812dead594dee1ea858.tar.gz rust-9302c17d18feffb26b4b8812dead594dee1ea858.zip | |
Disable zlib in LLVM on aarch64-apple-darwin
| -rw-r--r-- | src/bootstrap/native.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/native.rs b/src/bootstrap/native.rs index 48b2cc24d4c..3ab50e114c7 100644 --- a/src/bootstrap/native.rs +++ b/src/bootstrap/native.rs @@ -178,7 +178,7 @@ impl Step for Llvm { .define("LLVM_TARGET_ARCH", target_native.split('-').next().unwrap()) .define("LLVM_DEFAULT_TARGET_TRIPLE", target_native); - if !target.contains("netbsd") { + if !target.contains("netbsd") && target != "aarch64-apple-darwin" { cfg.define("LLVM_ENABLE_ZLIB", "ON"); } else { // FIXME: Enable zlib on NetBSD too |
