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 # Binary utilities menu
3 menu "Binary utilities"
7 prompt "Binary format:"
9 if ARCH_USE_MMU || BARE_METAL
11 config ARCH_BINFMT_ELF
15 This will make your system build ELF exectubales,
16 suitable for architectures with an MMU.
22 config ARCH_BINFMT_FLAT
26 This will build flat binaries, suitable for
27 MMU-less architectures.
29 config ARCH_BINFMT_FDPIC
33 This will build FD_PIC ELF binaries, suitable for
34 MMU-less architectures that still require to use
35 shared libraries (FIXME).
37 endif # ! ARCH_USE_MMU
41 source "config/binutils/binutils.in"
42 source "config/binutils/elf2flt.in"
43 source "config/binutils/sstrip.in"