diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-10-22 22:53:41 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-10-22 22:53:41 (GMT) |
commit | 1a0ab9ad5588b6dfb7ba6d9586165e61f4f15762 (patch) | |
tree | 1a0b7d449472dfecd8917edeb9466ab95e4b9532 /scripts | |
parent | d7e88461e66eb277dd0f4b9ba2f3da6bb7ce5abc (diff) |
libc/newlib: add option to compile support for long long IOs
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'scripts')
-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 b073a75..65a666e 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 |