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 -dur ELFkickers.orig/sstrip/Makefile ELFkickers/sstrip/Makefile
2 --- ELFkickers.orig/sstrip/Makefile 2001-03-24 12:58:27.000000000 +0100
3 +++ ELFkickers/sstrip/Makefile 2007-05-31 21:17:18.000000000 +0200
8 - gcc -ggdb -Wall -W -o sstrip sstrip.c
9 + $(CC) -Wall -W -o sstrip sstrip.c