File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -3334,6 +3334,21 @@ impl Build {
33343334 // Use the GNU-variant to match other Unix systems.
33353335 name = format ! ( "g{}" , tool) . into ( ) ;
33363336 self . cmd ( & name)
3337+ } else if target. os == "vxworks" {
3338+ name = format ! ( "wr-{}" , tool) . into ( ) ;
3339+ self . cmd ( & name)
3340+ } else if target. os == "nto" {
3341+ name = match target. arch {
3342+ "i586" | "x86" => format ! ( "ntox86-{}" , tool) . into ( ) ,
3343+ "aarch64" | "x86_64" => format ! ( "nto{}-{}" , target. arch, tool) . into ( ) ,
3344+ _ => {
3345+ return Err ( Error :: new (
3346+ ErrorKind :: InvalidTarget ,
3347+ format ! ( "Unknown architecture for Neutrino QNX: {}" , target. arch) ,
3348+ ) )
3349+ }
3350+ } ;
3351+ self . cmd ( & name)
33373352 } else if self . get_is_cross_compile ( ) ? {
33383353 match self . prefix_for_target ( & self . get_raw_target ( ) ?) {
33393354 Some ( prefix) => {
You can’t perform that action at this time.
0 commit comments