mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 19:19:32 +03:00
d48be524ce
libspl tries to detect sparc64 by checking whether __sparc64__ is defined. Unfortunately, this assumption is not correct as sparc64 does not define __sparc64__ but it defines __sparc__ and __arch64__ instead. This leads to sparc64 being detected as 32-Bit sparc and the build fails because both _ILP32 and _LP64 are defined in this case. To fix the problem, remove the checks for __sparc64__ and just check __arch64__ if a sparc host was previously detected with __sparc__. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Closes #5913 |
||
---|---|---|
.. | ||
ia32 | ||
rpc | ||
sys | ||
util | ||
assert.h | ||
atomic.h | ||
attr.h | ||
devid.h | ||
libdevinfo.h | ||
libgen.h | ||
libshare.h | ||
limits.h | ||
locale.h | ||
Makefile.am | ||
note.h | ||
statcommon.h | ||
stdio.h | ||
stdlib.h | ||
string.h | ||
strings.h | ||
stropts.h | ||
synch.h | ||
thread.h | ||
tzfile.h | ||
ucred.h | ||
umem.h | ||
unistd.h | ||
zone.h |