Skip to content

Commit 24e54ae

Browse files
committed
Auto merge of #28264 - mneumann:dragonfly_backend_fixes2, r=alexcrichton
Having -L/usr/local/lib in the linking path by default interferes with an already installed version of Rust during building of Rust.
2 parents 8115b39 + 1fac7f8 commit 24e54ae

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/librustc_back/target/dragonfly_base.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ pub fn opts() -> TargetOptions {
1919
linker_is_gnu: true,
2020
has_rpath: true,
2121
pre_link_args: vec!(
22-
"-L/usr/local/lib".to_string(),
23-
"-L/usr/lib/gcc47".to_string(),
2422
// GNU-style linkers will use this to omit linking to libraries
2523
// which don't actually fulfill any relocations, but only for
2624
// libraries which follow this flag. Thus, use it before

0 commit comments

Comments
 (0)