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.1.orig/Makefile.in ltrace-0.5.1/Makefile.in
2 --- ltrace-0.5.1.orig/Makefile.in 2009-03-16 17:24:08.000000000 +0100
3 +++ ltrace-0.5.1/Makefile.in 2009-03-16 17:43:09.000000000 +0100
6 ARCH := $(shell echo "@HOST_ARCH@" |sed -e s/i.86/i386/ \
8 + -e s/alpha.*/alpha/ \