diff -r 3e4197f32a07 -r 5025ef633f7b scripts/build/libc/newlib.sh --- a/scripts/build/libc/newlib.sh Sun Mar 20 01:13:05 2011 +0100 +++ b/scripts/build/libc/newlib.sh Sun Nov 20 20:57:06 2011 +0100 @@ -79,6 +79,11 @@ newlib_opts+=( "--disable-newlib-io-float" ) newlib_opts+=( "--disable-newlib-io-long-double" ) fi + if [ "${CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS}" = "y" ]; then + newlib_opts+=( "--disable-newlib-supplied-syscalls" ) + else + newlib_opts+=( "--enable-newlib-supplied-syscalls" ) + fi # Note: newlib handles the build/host/target a little bit differently # than one would expect: