From 985df3d55edde08ca662e04ab6b47cfb858e56e0 Mon Sep 17 00:00:00 2001 From: Mateusz MikuĊ‚a Date: Wed, 19 Aug 2020 19:26:50 +0200 Subject: Enable zlib for NetBSD --- src/bootstrap/native.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/bootstrap') 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"); } -- cgit 1.4.1-3-g733a5