DragonFly: Remove -L paths from pre_link_args.
Having -L/usr/local/lib in the linking path by default interferes with an already installed version of Rust during building of Rust.
This commit is contained in:
parent
6b36e921f4
commit
1fac7f8904
1 changed files with 0 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue