about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-07-21 04:53:50 +0000
committerbors <bors@rust-lang.org>2015-07-21 04:53:50 +0000
commitf9f0e44b339ee5f1336c3a250d3b962db21df7e6 (patch)
treef438d877c0572ff7c711f242d074f58795195939
parent48a1f1b96f3e80d75f50d65e8dd5672ac47cfa8c (diff)
parent761e11e1c4ab7bb063b76ed7ef914c81c64aa7e1 (diff)
downloadrust-f9f0e44b339ee5f1336c3a250d3b962db21df7e6.tar.gz
rust-f9f0e44b339ee5f1336c3a250d3b962db21df7e6.zip
Auto merge of #27144 - semarie:openbsd-archive_format, r=alexcrichton
the "bsd" archive_format don't work under openbsd.
use of "" (system ar) is ok.
use of "gnu" is ok too.

r? @alexcrichton 
-rw-r--r--src/librustc_back/target/openbsd_base.rs2
1 files changed, 1 insertions, 1 deletions
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()
     }
 }