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 # Configuration file for sstrip tool facility
3 if OBSOLETE && ! BACKEND && ARCH_BINFMT_ELF
9 prompt "sstrip (OBSOLETE)"
11 The sstrip utility, to maximise the striping of ELF binaries
12 (executables and libraries).
14 Buildroot version, forked off the original from ELFkickers.
15 This one is somewhat maintained by the buildroot guys.
16 Supports big-endian systems.
19 sstrip is now deprecated in crosstool-NG, as it has a few
20 shortcomings. For example: it breaks for PPC targets, it
21 does not build on non-ELF hosts (eg. mingw32, MacOS-X...).