From: Alex Crichton Date: Thu, 25 Feb 2016 07:51:36 +0000 (-0800) Subject: rustbuild: Remove extra rustc flags X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=506522ff4b7d25da6623791f4d620e3b1457fbdf;p=rust.git rustbuild: Remove extra rustc flags These should all no longer be necessary as they've been folded into the compiler. --- diff --git a/src/bootstrap/build/mod.rs b/src/bootstrap/build/mod.rs index 4a77aeb9786..761a7cb4c48 100644 --- a/src/bootstrap/build/mod.rs +++ b/src/bootstrap/build/mod.rs @@ -437,21 +437,7 @@ fn cxx(&self, target: &str) -> &Path { } fn rustc_flags(&self, target: &str) -> Vec { - let mut base = match target { - "arm-unknown-linux-gnueabihf" => { - vec!["-Ctarget-feature=+v6,+vfp2".to_string()] - } - "mips-unknown-linux-gnu" => { - vec!["-Ctarget-cpu=mips32r2".to_string(), - "-Ctarget-feature=+mips32r2".to_string(), - "-Csoft-float".to_string()] - } - "mipsel-unknown-linux-gnu" => { - vec!["-Ctarget-cpu=mips32".to_string(), - "-Ctarget-feature=+mips32".to_string()] - } - _ => Vec::new(), - }; + let mut base = Vec::new(); if target != self.config.build && !target.contains("msvc") { base.push(format!("-Clinker={}", self.cc(target).display())); }