diff -r 3e4197f32a07 -r cb0f31fe2535 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 Aug 28 20:12:26 2011 +0200 @@ -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: