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 # Menu for the native GDB
6 depends on ! BARE_METAL
9 Build and install a native gdb for the target, to run on the target.
13 config GDB_NATIVE_NO_STATIC
16 config GDB_NATIVE_STATIC
18 prompt "Build a static native gdb"
19 depends on ! GDB_NATIVE_NO_STATIC
21 In case you have trouble with dynamic loading of shared libraries,
22 you will find that a static gdb comes in handy.