File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -612,6 +612,15 @@ impl Config {
612612 cmd. args . push ( "-marm" . into ( ) ) ;
613613 }
614614
615+ // We can guarantee some settings for FRC
616+ if target. starts_with ( "arm-frc-" ) {
617+ cmd. args . push ( "-march=armv7-a" . into ( ) ) ;
618+ cmd. args . push ( "-mcpu=cortex-a9" . into ( ) ) ;
619+ cmd. args . push ( "-mfpu=vfpv3" . into ( ) ) ;
620+ cmd. args . push ( "-mfloat-abi=softfp" . into ( ) ) ;
621+ cmd. args . push ( "-marm" . into ( ) ) ;
622+ }
623+
615624 // Turn codegen down on i586 to avoid some instructions.
616625 if target. starts_with ( "i586-unknown-linux-" ) {
617626 cmd. args . push ( "-march=pentium" . into ( ) ) ;
@@ -877,6 +886,7 @@ impl Config {
877886 let prefix = cross_compile. or ( match & target[ ..] {
878887 "aarch64-unknown-linux-gnu" => Some ( "aarch64-linux-gnu" ) ,
879888 "arm-unknown-linux-gnueabi" => Some ( "arm-linux-gnueabi" ) ,
889+ "arm-frc-linux-gnueabi" => Some ( "arm-frc-linux-gnueabi" ) ,
880890 "arm-unknown-linux-gnueabihf" => Some ( "arm-linux-gnueabihf" ) ,
881891 "arm-unknown-linux-musleabi" => Some ( "arm-linux-musleabi" ) ,
882892 "arm-unknown-linux-musleabihf" => Some ( "arm-linux-musleabihf" ) ,
You can’t perform that action at this time.
0 commit comments