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:
Michael Neumann 2015-09-05 12:37:06 +02:00
parent 6b36e921f4
commit 1fac7f8904

View file

@ -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