Skip to content

Commit

Permalink
rustbuild: Remove extra rustc flags
Browse files Browse the repository at this point in the history
These should all no longer be necessary as they've been folded into the
compiler.
  • Loading branch information
alexcrichton committed Feb 28, 2016
1 parent e9a897c commit 506522f
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions src/bootstrap/build/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
}
Expand Down

0 comments on commit 506522f

Please sign in to comment.