nim: fix power arch predicates
isPowerPC is only true on 32 bit machines; to check the family we should use isPower here Otherwise, e.g. `pkgsCross.powernv.buildPackages.nim` fails to eval with `error: evaluation aborted with the following error message: 'no Nim CPU support known for powerpc64le-unknown-linux-gnu'`
This commit is contained in:
parent
921791e87a
commit
b8779dbffe
1 changed files with 2 additions and 2 deletions
|
@ -22,9 +22,9 @@ let
|
|||
"mips64"
|
||||
else if isMsp430 then
|
||||
"msp430"
|
||||
else if isPowerPC && is32bit then
|
||||
else if isPower && is32bit then
|
||||
"powerpc"
|
||||
else if isPowerPC && is64bit then
|
||||
else if isPower && is64bit then
|
||||
"powerpc64"
|
||||
else if isRiscV && is64bit then
|
||||
"riscv64"
|
||||
|
|
Loading…
Reference in a new issue