File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -2092,6 +2092,16 @@ impl Build {
2092
2092
cmd. push_cc_arg ( "-pthread" . into ( ) ) ;
2093
2093
}
2094
2094
}
2095
+
2096
+ if target. os == "nto" {
2097
+ let arg = match target. arch {
2098
+ "i586" => "-Vgcc_ntox86_cxx" ,
2099
+ "aarch64" => "-Vgcc_ntoaarch64le_cxx" ,
2100
+ "x86_64" => "-Vgcc_ntox86_64_cxx" ,
2101
+ _ => panic ! ( "Unknown architecture for Neutrino QNX: {}" , target. arch) ,
2102
+ } ;
2103
+ cmd. push_cc_arg ( arg. into ( ) ) ;
2104
+ }
2095
2105
}
2096
2106
}
2097
2107
@@ -2803,6 +2813,8 @@ impl Build {
2803
2813
format ! ( "arm-kmc-eabi-{}" , gnu)
2804
2814
} else if target. arch == "aarch64" && target. vendor == "kmc" {
2805
2815
format ! ( "aarch64-kmc-elf-{}" , gnu)
2816
+ } else if target. os == "nto" {
2817
+ "qcc" . into ( )
2806
2818
} else if self . get_is_cross_compile ( ) ? {
2807
2819
let prefix = self . prefix_for_target ( & raw_target) ;
2808
2820
match prefix {
You can’t perform that action at this time.
0 commit comments