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.
This commit is contained in:
bors 2015-09-08 22:22:36 +00:00
commit 24e54aebd0

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