scripts/build/internals.sh: compile wrapper with portable options.
static linking is not possible on MacOS, and unnessecary on other systems.
The old optimization and warning flags crash the gcc on MacOS
and (imho) are a bit overdone for this software.
1 # Menu for the native gdbserver
7 depends on ! BARE_METAL
9 Build and install a gdbserver for the target, to run on the target.
13 config GDB_GDBSERVER_STATIC
15 prompt "Build a static gdbserver"
18 In case you have trouble with dynamic loading of shared libraries,
19 you will find that a static gdbserver comes in handy.
24 comment "In bare-metal, you'll need to "
25 comment "provide your own gdbserver stub."