basic/architecture: Properly set LIB_ARCH_TUPLE for x32
authorJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Thu, 2 Mar 2017 00:50:36 +0000 (01:50 +0100)
committerJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Thu, 2 Mar 2017 00:50:36 +0000 (01:50 +0100)
commit4c7c70c7c23c86836bb96e793e76c79f44784c07
tree8ecd5d31ef7d18e81e1141b5de78edd5f51694f9
parent4317cf9026b8f2fd7db25670a79af1c8f09e3db5
basic/architecture: Properly set LIB_ARCH_TUPLE for x32

On x86_64, there are two possible ABIs and hence values for
LIB_ARCH_TUPLE. The convential 64-bit type and the 32-bit
variant, called x32. The latter can be detected by checking
whether __ILP32__ is defined.
src/basic/architecture.h