From 78320c7c7597ab00d856e28f4f1aa3302992e6cf Mon Sep 17 00:00:00 2001
From: gnzlbg <gonzalobg88@gmail.com>
Date: Wed, 28 Feb 2018 15:27:38 +0100
Subject: [PATCH] retry

---
 src/unix/mod.rs | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/unix/mod.rs b/src/unix/mod.rs
index 08ac6b33..286748d7 100644
--- a/src/unix/mod.rs
+++ b/src/unix/mod.rs
@@ -286,12 +286,11 @@ cfg_if! {
     } else if #[cfg(target_os = "emscripten")] {
         #[link(name = "c")]
         extern {}
-    } else if #[cfg(all(target_os = "netbsd",
-                        cfg_attr(feature = "stdbuild",
-                                 target_vendor = "rumprun")))] {
+    } else if #[cfg(all(target_os = "netbsd"))] {
         // Since we don't use -nodefaultlibs on Rumprun, libc is always pulled
         // in automatically by the linker. We avoid passing it explicitly, as it
         // causes some versions of binutils to crash with an assertion failure.
+        #[cfg_attr(feature = "stdbuild", target_vendor = "rumprun")]
         #[link(name = "m")]
         extern {}
     } else if #[cfg(any(target_os = "macos",
-- 
GitLab