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 cross GDB
7 select GDB_GDBSERVER if ! BARE_METAL
9 Build and install a cross-gdb for the target, to run on host.
13 config GDB_CROSS_STATIC
15 prompt "Build a static cross gdb"
18 A static cross gdb can be usefull if you debug on a machine that is
19 not the one that is used to compile the toolchain.
21 That way, you can share the cross-gdb without installing a toolchain
22 on every machine that will be used to debug target programs.
24 config GDB_CROSS_USE_GMP_MPFR
31 gdb can use GMP+MPFR, although it does not seem compulsory.
33 Say 'Y' here if you want to use GMP+MPFR.
35 config GDB_CROSS_USE_MPC
39 select GDB_CROSS_USE_GMP_MPFR
42 gdb can use MPC, although it does not seem compulsory.
44 Say 'Y' here if you want to use MPC.