summaryrefslogtreecommitdiff
path: root/scripts/build/libc/newlib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/libc/newlib.sh')
-rw-r--r--scripts/build/libc/newlib.sh5
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