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 {
612
612
cmd. args . push ( "-marm" . into ( ) ) ;
613
613
}
614
614
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
+
615
624
// Turn codegen down on i586 to avoid some instructions.
616
625
if target. starts_with ( "i586-unknown-linux-" ) {
617
626
cmd. args . push ( "-march=pentium" . into ( ) ) ;
@@ -877,6 +886,7 @@ impl Config {
877
886
let prefix = cross_compile. or ( match & target[ ..] {
878
887
"aarch64-unknown-linux-gnu" => Some ( "aarch64-linux-gnu" ) ,
879
888
"arm-unknown-linux-gnueabi" => Some ( "arm-linux-gnueabi" ) ,
889
+ "arm-frc-linux-gnueabi" => Some ( "arm-frc-linux-gnueabi" ) ,
880
890
"arm-unknown-linux-gnueabihf" => Some ( "arm-linux-gnueabihf" ) ,
881
891
"arm-unknown-linux-musleabi" => Some ( "arm-linux-musleabi" ) ,
882
892
"arm-unknown-linux-musleabihf" => Some ( "arm-linux-musleabihf" ) ,
You can’t perform that action at this time.
0 commit comments