From 9b87613c37f50b0d1a368075a9c155b2acce5ff9 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sat, 23 Oct 2010 01:21:20 +0200 Subject: libc/newlib: add option to compile support for IOs on C99 formats Signed-off-by: "Yann E. MORIN" --- scripts/build/libc/newlib.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts/build/libc') diff --git a/scripts/build/libc/newlib.sh b/scripts/build/libc/newlib.sh index 65a666ec..0593a663 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 -- cgit v1.2.3