diff --git a/configure b/configure index efa836ca97646..4537615bb126b 100755 --- a/configure +++ b/configure @@ -848,13 +848,6 @@ then putvar CFG_LOCAL_RUST_ROOT fi -# Force freebsd to build with clang; gcc doesn't like us there -if [ $CFG_OSTYPE = unknown-freebsd ] -then - step_msg "on FreeBSD, forcing use of clang" - CFG_ENABLE_CLANG=1 -fi - # Force bitrig to build with clang; gcc doesn't like us there if [ $CFG_OSTYPE = unknown-bitrig ] then diff --git a/src/librustc_back/target/freebsd_base.rs b/src/librustc_back/target/freebsd_base.rs index dcf1a12f2c9ad..3ec6307c72f86 100644 --- a/src/librustc_back/target/freebsd_base.rs +++ b/src/librustc_back/target/freebsd_base.rs @@ -18,11 +18,6 @@ pub fn opts() -> TargetOptions { executables: true, morestack: true, has_rpath: true, - pre_link_args: vec!( - "-L/usr/local/lib".to_string(), - "-L/usr/local/lib/gcc46".to_string(), - "-L/usr/local/lib/gcc44".to_string(), - ), .. Default::default() }