HomeFreeBSD

math/cado-nfs: fix build on non-amd64

Description

math/cado-nfs: fix build on non-amd64

lingen_pz is installed only on amd64.

While here, rework endianness detection, since the current method uses plain
list of architectures. Since powerpc64le is little endian and POWER as whole
is set up in cado-endian.h as big-endian, it will result in runtime issues.

Details

Provenance
pkubajAuthored on Oct 12 2021, 6:37 PM
Parents
R11:06f9c78487fc: misc/xplr: fix build on powerpc64*
Branches
Unknown
Tags
Unknown