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 --- gcc-4.1.2.orig/gcc/configure.ac 2006-11-13 23:09:55.000000000 +0100
2 +++ gcc-4.1.2/gcc/configure.ac 2007-03-04 23:34:53.000000000 +0100
5 tls_as_opt="-m64 -Aesame --fatal-warnings"
8 + sh-*-* | sh[34]*-*-*)
10 .section ".tdata","awT",@progbits
12 --- gcc-4.1.2.orig/gcc/configure 2006-11-13 23:09:55.000000000 +0100
13 +++ gcc-4.1.2/gcc/configure 2007-03-04 23:34:53.000000000 +0100
14 @@ -14762,7 +14762,7 @@
16 tls_as_opt="-m64 -Aesame --fatal-warnings"
18 - sh-*-* | sh[34]-*-*)
19 + sh-*-* | sh[34]*-*-*)
21 .section ".tdata","awT",@progbits