Skip to content

Commit 506522f

Browse files
committed
rustbuild: Remove extra rustc flags
These should all no longer be necessary as they've been folded into the compiler.
1 parent e9a897c commit 506522f

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

src/bootstrap/build/mod.rs

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -437,21 +437,7 @@ impl Build {
437437
}
438438

439439
fn rustc_flags(&self, target: &str) -> Vec<String> {
440-
let mut base = match target {
441-
"arm-unknown-linux-gnueabihf" => {
442-
vec!["-Ctarget-feature=+v6,+vfp2".to_string()]
443-
}
444-
"mips-unknown-linux-gnu" => {
445-
vec!["-Ctarget-cpu=mips32r2".to_string(),
446-
"-Ctarget-feature=+mips32r2".to_string(),
447-
"-Csoft-float".to_string()]
448-
}
449-
"mipsel-unknown-linux-gnu" => {
450-
vec!["-Ctarget-cpu=mips32".to_string(),
451-
"-Ctarget-feature=+mips32".to_string()]
452-
}
453-
_ => Vec::new(),
454-
};
440+
let mut base = Vec::new();
455441
if target != self.config.build && !target.contains("msvc") {
456442
base.push(format!("-Clinker={}", self.cc(target).display()));
457443
}

0 commit comments

Comments
 (0)