about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorMateusz Mikuła <mati865@gmail.com>2020-08-19 19:26:50 +0200
committerMateusz Mikuła <mati865@gmail.com>2020-08-25 09:26:10 +0200
commit985df3d55edde08ca662e04ab6b47cfb858e56e0 (patch)
tree1e17b27c3c7c7324b3c82dd2c9ca261c76c717a1 /src/bootstrap
parentee541284bf5008bb0425fae02412352025099707 (diff)
downloadrust-985df3d55edde08ca662e04ab6b47cfb858e56e0.tar.gz
rust-985df3d55edde08ca662e04ab6b47cfb858e56e0.zip
Enable zlib for NetBSD
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/native.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bootstrap/native.rs b/src/bootstrap/native.rs
index 97d9dbdd63f..e9d0c017c7b 100644
--- a/src/bootstrap/native.rs
+++ b/src/bootstrap/native.rs
@@ -178,11 +178,9 @@ impl Step for Llvm {
             .define("LLVM_TARGET_ARCH", target_native.split('-').next().unwrap())
             .define("LLVM_DEFAULT_TARGET_TRIPLE", target_native);
 
-        if !target.contains("netbsd") && target != "aarch64-apple-darwin" {
+        if target != "aarch64-apple-darwin" {
             cfg.define("LLVM_ENABLE_ZLIB", "ON");
         } else {
-            // FIXME: Enable zlib on NetBSD too
-            // https://github.com/rust-lang/rust/pull/72696#issuecomment-641517185
             cfg.define("LLVM_ENABLE_ZLIB", "OFF");
         }