Skip to content

Commit

Permalink
DragonFly: Remove -L paths from pre_link_args.
Browse files Browse the repository at this point in the history
Having -L/usr/local/lib in the linking path by default interferes
with an already installed version of Rust during building of Rust.
  • Loading branch information
mneumann committed Sep 5, 2015
1 parent 6b36e92 commit 1fac7f8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/librustc_back/target/dragonfly_base.rs
Expand Up @@ -19,8 +19,6 @@ pub fn opts() -> TargetOptions {
linker_is_gnu: true,
has_rpath: true,
pre_link_args: vec!(
"-L/usr/local/lib".to_string(),
"-L/usr/lib/gcc47".to_string(),
// GNU-style linkers will use this to omit linking to libraries
// which don't actually fulfill any relocations, but only for
// libraries which follow this flag. Thus, use it before
Expand Down

0 comments on commit 1fac7f8

Please sign in to comment.