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 Index: ltrace-0.5.3/configure
2 ===================================================================
3 --- ltrace-0.5.3/configure
4 +++ ltrace-0.5.3/configure
9 -LIBS='-lelf -lsupc++ -liberty '
11 +[ -n "$HAVE_LIBSUPC__" ] && LIBS="$LIBS -lsupc++"
12 +[ -n "$HAVE_LIBIBERTY" ] && LIBS="$LIBS -liberty"