File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -437,21 +437,7 @@ impl Build {
437
437
}
438
438
439
439
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 ( ) ;
455
441
if target != self . config . build && !target. contains ( "msvc" ) {
456
442
base. push ( format ! ( "-Clinker={}" , self . cc( target) . display( ) ) ) ;
457
443
}
You can’t perform that action at this time.
0 commit comments