scripts/build/arch/s390.sh
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Aug 31 11:00:35 2011 +0200 (2011-08-31)
changeset 2669 0e00e4fda2ea
parent 1631 14abcd185e4b
child 3169 9d0b37f08a10
permissions -rw-r--r--
libc/uClibc: add patch to fix fork in threads with ARM EABI

uClibc-0.9.32 requires libgcc_eh.a (for ARM EABI), but only when libubacktrace
is enabled. As this is not the default, provide a workaround to disable linking
with libgcc_eh.a if libubacktrace is not selected.

This will however still break if uClibc is configured to enable libubacktrace,
but it requires a fix in gcc, and we can take care of that later.

Reported-by: Grant Edwards <grant.b.edwards@gmail.com>
Reported-by: Tor Krill <tor@codeknot.com>
Tested-by: Tor Krill <tor@codeknot.com>
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
}