]> git.lizzy.rs Git - rust.git/commitdiff
rustbuild: Remove extra rustc flags
authorAlex Crichton <alex@alexcrichton.com>
Thu, 25 Feb 2016 07:51:36 +0000 (23:51 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Sun, 28 Feb 2016 18:50:13 +0000 (10:50 -0800)
These should all no longer be necessary as they've been folded into the
compiler.

src/bootstrap/build/mod.rs

index 4a77aeb97861f283bc2f22103625785e809fa7b0..761a7cb4c48b8384346df9859bc46bb37e58d9b6 100644 (file)
@@ -437,21 +437,7 @@ fn cxx(&self, target: &str) -> &Path {
     }
 
     fn rustc_flags(&self, target: &str) -> Vec<String> {
-        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()));
         }