]> www.ginac.de Git - cln.git/commit
Detect s390x and sparc64 as 32-bit architectures.
authorRichard Kreckel <kreckel@ginac.de>
Sun, 1 Apr 2012 20:38:54 +0000 (22:38 +0200)
committerRichard Kreckel <kreckel@ginac.de>
Sun, 1 Apr 2012 20:38:54 +0000 (22:38 +0200)
commitb86458e11ffdc750ee8e356effd97896f3bc749f
treee2300250b22e12a127d8e0c314806cf11153b75a
parent4985c8a7895076df62758466c86cd1bc9df10438
Detect s390x and sparc64 as 32-bit architectures.

CLN fails to build on s390x and sparc64 as it detects them as 32-bit
architectures, due to __s390__ and __sparc__ matching respectively both
s390 and s390x, and both sparc and sparc64. The patch below fixes the
issue. (Reported as Debian bug#639494.)

Thanks to Aurelien Jarno <aurel32@debian.org>.
include/cln/host_cpu.h.in
include/cln/object.h
include/cln/types.h