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 -durN ltrace-0.5.2.orig/Makefile.in ltrace-0.5.2/Makefile.in
2 --- ltrace-0.5.2.orig/Makefile.in 2009-06-27 15:34:04.000000000 +0200
3 +++ ltrace-0.5.2/Makefile.in 2009-06-27 15:34:27.000000000 +0200
6 ARCH := $(shell echo "@HOST_ARCH@" |sed -e s/i.86/i386/ \
8 + -e s/alpha.*/alpha/ \