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 reporter_name="Anthony Foiani <anthony.foiani@gmail.com>"
2 reporter_url="http://sourceware.org/ml/crossgcc/2010-09/msg00100.html"
3 reporter_comment="This is a sample config file for Freescale e500v2 processors (e.g., MPC8548,
4 MPC8572). It uses eglibc (for e500/SPE patches) and a recent gcc (4.6.0,
5 for e500v2 DPFP support) and will generate appropriate dual-precision
6 floating point instructions by default.
8 Note: If building a Linux kernel with this toolchain, you will want to make
9 sure -mno-spe AND -mspe=no are passed to gcc to prevent SPE ABI/instructions
10 from getting into the kernel (which is currently unsupported). At this time,
11 the kernel build system properly passes those two options, but older kernels
12 were only passing -mno-spe by default."