mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 04:47:52 +00:00
libc/newlib: add option to compile support for IOs on C99 formats
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
parent
1a0ab9ad55
commit
9b87613c37
@ -1,5 +1,12 @@
|
||||
# newlib second-part options
|
||||
|
||||
config LIBC_NEWLIB_IO_C99FMT
|
||||
bool
|
||||
prompt "Enable IOs on C99 formats"
|
||||
default n
|
||||
help
|
||||
Enable support for IOs on C99 formats.
|
||||
|
||||
config LIBC_NEWLIB_IO_LL
|
||||
bool
|
||||
prompt "Enable IOs on long long"
|
||||
|
@ -68,6 +68,11 @@ do_libc_start_files() {
|
||||
|
||||
CT_DoLog EXTRA "Configuring C library"
|
||||
|
||||
if [ "${CT_LIBC_NEWLIB_IO_C99FMT}" = "y" ]; then
|
||||
newlib_opts+=( "--enable-newlib-io-c99-formats" )
|
||||
else
|
||||
newlib_opts+=( "--disable-newlib-io-c99-formats" )
|
||||
fi
|
||||
if [ "${CT_LIBC_NEWLIB_IO_LL}" = "y" ]; then
|
||||
newlib_opts+=( "--enable-newlib-io-long-long" )
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user