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 gdbserver
6 depends on ! BARE_METAL
8 Build and install a gdbserver for the target, to run on the target.
12 config GDB_GDBSERVER_STATIC
14 prompt "Build a static gdbserver"
17 In case you have trouble with dynamic loading of shared libraries,
18 you will find that a static gdbserver comes in handy.
23 comment "In bare-metal, you'll need to "
24 comment "provide your own gdbserver stub."