Pass CXXFLAGS to binutils/gold.
The GOLD linker is written in C++. Pass CT_CFLAGS_FOR_HOST as
CXXFLAGS to configure so that any host specific flags are passed
through.
It feels a bit funny passing CFLAGS as CXXFLAGS, but the PPL and GCC
target rules already do the same.
Signed-off-by: Michael Hope <michael.hope@linaro.org>
1 diff -Narup uClibc-0.9.30.1.orig/libc/inet/getaddrinfo.c uClibc-0.9.30.1/libc/inet/getaddrinfo.c
2 --- uClibc-0.9.30.1.orig/libc/inet/getaddrinfo.c 2009-02-26 21:49:14.000000000 +0900
3 +++ uClibc-0.9.30.1/libc/inet/getaddrinfo.c 2009-03-06 00:59:23.000000000 +0900
4 @@ -187,6 +187,8 @@ static unsigned __check_pf(void)
7 for (runp = ifa; runp != NULL; runp = runp->ifa_next) {
8 + if (runp->ifa_addr == NULL)
10 #if defined __UCLIBC_HAS_IPV4__
11 if (runp->ifa_addr->sa_family == PF_INET)