From 761e11e1c4ab7bb063b76ed7ef914c81c64aa7e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Marie?= Date: Mon, 20 Jul 2015 06:11:59 +0200 Subject: [PATCH] fixes #27124 for openbsd the "bsd" archive_format don't work under openbsd. use of "" (system ar) is ok. use of "gnu" is ok too. --- src/librustc_back/target/openbsd_base.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_back/target/openbsd_base.rs b/src/librustc_back/target/openbsd_base.rs index 9b20bd927cb..4d3f9668c9f 100644 --- a/src/librustc_back/target/openbsd_base.rs +++ b/src/librustc_back/target/openbsd_base.rs @@ -27,7 +27,7 @@ pub fn opts() -> TargetOptions { "-Wl,--as-needed".to_string(), ), position_independent_executables: true, - archive_format: "bsd".to_string(), + archive_format: "gnu".to_string(), .. Default::default() } }