kconfig/check.sh
author Daniel Schultze <kinglag@gmail.com>
Thu Jan 16 14:55:23 2014 -0800 (2014-01-16)
changeset 3281 529a71ea091e
parent 943 1cca90ce0481
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
     1 #!/bin/sh
     2 # Needed for systems without gettext
     3 $* -xc -o /dev/null - > /dev/null 2>&1 << EOF
     4 #include <libintl.h>
     5 int main()
     6 {
     7 	gettext("");
     8 	return 0;
     9 }
    10 EOF
    11 if [ ! "$?" -eq "0"  ]; then
    12 	echo -DKBUILD_NO_NLS;
    13 fi
    14