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 Dmitry V. Levin [Tue, 3 Nov 2009 16:49:49 +0000]
3 Fix check for linux/netlink.h on Linux 2.6.32-rc5+
5 * configure.ac (AC_CHECK_HEADERS): In check for linux/netlink.h, include
6 sys/socket.h instead of linux/socket.h beforehand.
8 diff --git a/configure.ac b/configure.ac
11 @@ -258,7 +258,7 @@ AC_CHECK_HEADERS([ \
13 AC_CHECK_HEADERS([linux/icmp.h linux/in6.h linux/netlink.h linux/if_packet.h],
14 [], [], [#include <stddef.h>
15 -#include <linux/socket.h>])
16 +#include <sys/socket.h>])
17 AC_CHECK_HEADERS([asm/sigcontext.h], [], [], [#include <signal.h>])
18 AC_CHECK_TYPES([struct sigcontext_struct,
19 struct sigcontext],,, [#include <signal.h>])