diff options
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 012f39c..289c4df 100644 --- a/scripts/build/libc/newlib.sh +++ b/scripts/build/libc/newlib.sh @@ -79,6 +79,11 @@ do_libc_start_files() { 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: |