Skip to content

Commit 761e11e

Browse files
committed
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.
1 parent 3f50dca commit 761e11e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_back/target/openbsd_base.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pub fn opts() -> TargetOptions {
2727
"-Wl,--as-needed".to_string(),
2828
),
2929
position_independent_executables: true,
30-
archive_format: "bsd".to_string(),
30+
archive_format: "gnu".to_string(),
3131
.. Default::default()
3232
}
3333
}

0 commit comments

Comments
 (0)