File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -1620,6 +1620,10 @@ impl Build {
1620
1620
}
1621
1621
}
1622
1622
1623
+ if target. contains ( "-kmc-solid_" ) {
1624
+ cmd. args . push ( "-finput-charset=utf-8" . into ( ) ) ;
1625
+ }
1626
+
1623
1627
if self . static_flag . is_none ( ) {
1624
1628
let features = self
1625
1629
. getenv ( "CARGO_CFG_TARGET_FEATURE" )
@@ -1631,7 +1635,7 @@ impl Build {
1631
1635
1632
1636
// armv7 targets get to use armv7 instructions
1633
1637
if ( target. starts_with ( "armv7" ) || target. starts_with ( "thumbv7" ) )
1634
- && target. contains ( "-linux-" )
1638
+ && ( target. contains ( "-linux-" ) || target . contains ( "-kmc-solid_" ) )
1635
1639
{
1636
1640
cmd. args . push ( "-march=armv7-a" . into ( ) ) ;
1637
1641
}
@@ -2187,6 +2191,10 @@ impl Build {
2187
2191
} else {
2188
2192
"wr-cc" . to_string ( )
2189
2193
}
2194
+ } else if target. starts_with ( "armv7a-kmc-solid_" ) {
2195
+ format ! ( "arm-kmc-eabi-{}" , gnu)
2196
+ } else if target. starts_with ( "aarch64-kmc-solid_" ) {
2197
+ format ! ( "aarch64-kmc-elf-{}" , gnu)
2190
2198
} else if self . get_host ( ) ? != target {
2191
2199
let prefix = self . prefix_for_target ( & target) ;
2192
2200
match prefix {
You can’t perform that action at this time.
0 commit comments