rustc: allowing building for ARMv5
toRustTarget needed to handle the armv5tel case
This commit is contained in:
parent
d1601a40c4
commit
9d6134ae6d
|
@ -35,6 +35,7 @@
|
|||
"armv7a" = "armv7";
|
||||
"armv7l" = "armv7";
|
||||
"armv6l" = "arm";
|
||||
"armv5tel" = "armv5te";
|
||||
}.${cpu.name} or cpu.name;
|
||||
in platform.rustc.config
|
||||
or "${cpu_}-${vendor.name}-${kernel.name}${lib.optionalString (abi.name != "unknown") "-${abi.name}"}";
|
||||
|
|
Loading…
Reference in New Issue