From 506522ff4b7d25da6623791f4d620e3b1457fbdf Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 24 Feb 2016 23:51:36 -0800 Subject: [PATCH] rustbuild: Remove extra rustc flags These should all no longer be necessary as they've been folded into the compiler. --- src/bootstrap/build/mod.rs | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) 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())); } -- 2.44.0