From 1a0ab9ad5588b6dfb7ba6d9586165e61f4f15762 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sat, 23 Oct 2010 00:53:41 +0200 Subject: libc/newlib: add option to compile support for long long IOs 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 b073a757..65a666ec 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_LL}" = "y" ]; then + newlib_opts+=( "--enable-newlib-io-long-long" ) + else + newlib_opts+=( "--disable-newlib-io-long-long" ) + fi if [ "${CT_LIBC_NEWLIB_IO_FLOAT}" = "y" ]; then newlib_opts+=( "--enable-newlib-io-float" ) if [ "${CT_LIBC_NEWLIB_IO_LDBL}" = "y" ]; then -- cgit v1.2.3