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.
11 Enter the date of the snapshot you want to use in the form: YYYYMMDD
12 where YYYY is the 4-digit year, MM the 2-digit month and DD the 2-digit
16 - glibc has snapshots done every monday, and only the last ten are kept.
17 - uClibc has daily snapshots, and only the last 30-or-so are kept.
19 So if you want to be able to re-build your toolchain later, you will
20 have to save your C library tarball by yourself.
22 source "config.gen/libc.in"
24 config LIBC_SUPPORT_NPTL
28 config LIBC_SUPPORT_LINUXTHREADS
34 default "nptl" if THREADS_NPTL
35 default "linuxthreads" if THREADS_LINUXTHREADS
36 default "none" if THREADS_NONE || LIBC_none
37 # No C library, no threads!
41 comment "Common C library options"
45 prompt "Threading implementation to use:"
46 default THREADS_NPTL if LIBC_SUPPORT_NPTL
47 default THREADS_LINUXTHREADS if LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
48 default THREADS_NONE if ! LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
53 depends on LIBC_SUPPORT_NPTL
55 config THREADS_LINUXTHREADS
58 depends on LIBC_SUPPORT_LINUXTHREADS