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.
3 menu "Operating System"
5 # Config option used throughout the config and code to determine wether
6 # we have a kernel or not (there might be different bare metal stuff)...
11 # Each target OS (aka kernel) that support shared libraries can select
12 # this, so the user can decide whether or not to build a shared library
14 config KERNEL_SUPPORTS_SHARED_LIBS
24 source "config.gen/kernel.in"
26 comment "Common kernel options"
30 prompt "Build shared libraries"
31 depends on KERNEL_SUPPORTS_SHARED_LIBS
34 Say 'y' here, unless you don't want shared libraries.
36 You might not want shared libraries if you're building for a target that
37 don't support it (maybe some nommu targets, for example, or bare metal).