Skip to content

Commit

Permalink
Disable zlib in LLVM on aarch64-apple-darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
glandium committed Aug 13, 2020
1 parent b6396b7 commit 9302c17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/native.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9302c17

Please sign in to comment.