scripts/build/arch/s390.sh
author Daniel Schultze <kinglag@gmail.com>
Thu Jan 16 14:55:23 2014 -0800 (2014-01-16)
changeset 3281 529a71ea091e
parent 1636 3167f947f93f
permissions -rw-r--r--
libc/glibc: adding patch for glibc-2.10.1 for make-3.82 and later

Make 3.82 broke makefiles that used implicit and explicit rules on the
same line.

This was a undocumented feature that broke many makefiles.

This patch removes the offending rule and replaces it with two separate rules.

Signed-off-by: Daniel Schultze <kinglag@gmail.com>
[yann.morin.1998@free.fr: make it a crosstool-ng patch]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <CAEsx0Y-PDK7g6XanR=GRWT-8efMX=qAuB4Ub7wakF5sH=tQGxA@mail.gmail.com>
Patchwork-Id: 311876
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
w@3169
     6
        CT_TARGET_ARCH="s390x${CT_ARCH_SUFFIX}"
yann@1636
     7
    fi
harold@1629
     8
}