diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-10-22 23:21:20 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-10-22 23:21:20 (GMT) |
commit | 9b87613c37f50b0d1a368075a9c155b2acce5ff9 (patch) | |
tree | cfa3089a1e63537f78a54a2811f372f503aecf17 /scripts/build/libc | |
parent | 1a0ab9ad5588b6dfb7ba6d9586165e61f4f15762 (diff) |
libc/newlib: add option to compile support for IOs on C99 formats
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'scripts/build/libc')
-rw-r--r-- | scripts/build/libc/newlib.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/build/libc/newlib.sh b/scripts/build/libc/newlib.sh index 65a666e..0593a66 100644 --- a/scripts/build/libc/newlib.sh +++ b/scripts/build/libc/newlib.sh @@ -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 |