diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2016-02-24 23:51:36 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2016-02-28 10:50:13 -0800 |
| commit | 506522ff4b7d25da6623791f4d620e3b1457fbdf (patch) | |
| tree | 82ca06f5ae0d4633b0e623716cb0f1cb8f5807d2 /src/bootstrap | |
| parent | e9a897c10f1636fca5c99bdbf12d02ea7ffd6e4c (diff) | |
| download | rust-506522ff4b7d25da6623791f4d620e3b1457fbdf.tar.gz rust-506522ff4b7d25da6623791f4d620e3b1457fbdf.zip | |
rustbuild: Remove extra rustc flags
These should all no longer be necessary as they've been folded into the compiler.
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/build/mod.rs | 16 |
1 files changed, 1 insertions, 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 @@ impl Build { } 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())); } |
