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 -ru gdb-6.8.orig/bfd/sysdep.h gdb-6.8/bfd/sysdep.h
2 --- gdb-6.8.orig/bfd/sysdep.h 2007-07-03 16:26:42.000000000 +0200
3 +++ gdb-6.8/bfd/sysdep.h 2011-08-21 13:33:47.000000000 +0200
9 +#if !HAVE_DECL_STPCPY && !defined(stpcpy)
10 extern char *stpcpy (char *__dest, const char *__src);