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 # Binary utilities menu
3 menu "Binary utilities"
7 prompt "Binary format:"
9 if ARCH_USE_MMU || BARE_METAL
11 config ARCH_BINFMT_ELF
15 This will make your system build ELF executables,
16 suitable for architectures with an MMU.
22 config ARCH_BINFMT_FLAT
26 This will build flat binaries, suitable for
27 MMU-less architectures.
29 config ARCH_BINFMT_FDPIC
33 This will build FD_PIC ELF binaries, suitable for
34 MMU-less architectures that still require to use
35 shared libraries (FIXME).
37 endif # ! ARCH_USE_MMU
41 source "config/binutils/binutils.in"
42 source "config/binutils/elf2flt.in"
43 source "config/binutils/sstrip.in"