scripts/build/arch/s390.sh
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Nov 22 00:11:51 2011 +0100 (2011-11-22)
changeset 2822 09abd5f4295b
parent 1631 14abcd185e4b
child 3169 9d0b37f08a10
permissions -rw-r--r--
libc/glibc: set the endian option according to extra CFLAGS

When building a multilib, some extra CFLAGS can override the
default config option. This is the case for the endianness
selection.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
harold@1629
     1
# Compute s390-specific values
harold@1629
     2
harold@1629
     3
CT_DoArchTupleValues() {
yann@1636
     4
    # That's the only thing to override
yann@1636
     5
    if [ "${CT_ARCH_64}" = "y" ]; then
yann@1636
     6
        CT_TARGET_ARCH="s390x"
yann@1636
     7
    fi
harold@1629
     8
}