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 # newlib second-part options
3 config LIBC_NEWLIB_IO_C99FMT
5 prompt "Enable IOs on C99 formats"
7 Enable support for IOs on C99 formats.
9 config LIBC_NEWLIB_IO_LL
11 prompt "Enable IOs on long long"
13 Enable support for IOs on long long integers.
15 config LIBC_NEWLIB_IO_FLOAT
17 prompt "Enable IOs on floats and doubles"
19 Enable support for IOs on floating point
20 values (float and double).
22 config LIBC_NEWLIB_IO_LDBL
24 prompt "Enable IOs on long doubles"
25 depends on LIBC_NEWLIB_IO_FLOAT
27 Enable support for IOs on long doubles.
29 config LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS
31 prompt "Disable the syscalls supplied with newlib"
33 Disable the syscalls that come with newlib. You
34 will have to implement your own _sbrk, _read,
35 _write... If you plan to port newlib to a new
36 platform/board, say Yes.