]> git.lizzy.rs Git - rust.git/blobdiff - src/bootstrap/native.rs
Deal with spaces in the rust version.
[rust.git] / src / bootstrap / native.rs
index 48b2cc24d4cd8bfb22b62e84dab700b320e07046..3ab50e114c750426a13c04e9b4d616a7276af938 100644 (file)
@@ -178,7 +178,7 @@ fn run(self, builder: &Builder<'_>) -> PathBuf {
             .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