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 ltrace-0.5.3.org/Makefile.in ltrace-0.5.3/Makefile.in
2 --- ltrace-0.5.3.org/Makefile.in 2011-08-21 18:55:15.000000000 +0200
3 +++ ltrace-0.5.3/Makefile.in 2011-08-21 18:40:53.000000000 +0200
5 $(CC) $(LDFLAGS) $^ $(LIBS) -o $@
7 libltrace.a: sysdeps/sysdep.o $(OBJ)
11 $(OBJ): sysdeps/sysdep.o