diff options
| author | Oxore <oxore@protonmail.com> | 2022-06-23 19:14:02 +0300 |
|---|---|---|
| committer | Oxore <oxore@protonmail.com> | 2022-06-23 19:15:30 +0300 |
| commit | c9032e27e9955cb128a1d6b61d990d9ba4f7fa8b (patch) | |
| tree | d809928a33da6e4904855129bda1296d80afc8ac /5-build-newlib.sh | |
| parent | 0b3768c2b2de854292f71f9f802d827e390bbd62 (diff) | |
Optimize newlib size (make it basically nano)
Diffstat (limited to '5-build-newlib.sh')
| -rw-r--r-- | 5-build-newlib.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/5-build-newlib.sh b/5-build-newlib.sh index cf24a2e..4cbf3a7 100644 --- a/5-build-newlib.sh +++ b/5-build-newlib.sh @@ -21,6 +21,20 @@ if [ -n "$options_do_configure" ]; then --target=$target \ --enable-option-checking \ --enable-lto \ + --enable-newlib-io-c99-formats \ + --enable-newlib-io-long-long \ + --disable-newlib-atexit-dynamic-alloc \ + --disable-newlib-supplied-syscalls \ + --enable-newlib-reent-small \ + --disable-newlib-fvwrite-in-streamio \ + --disable-newlib-fseek-optimization \ + --disable-newlib-wide-orient \ + --disable-newlib-unbuf-stream-opt \ + --enable-newlib-global-atexit \ + --enable-newlib-retargetable-locking \ + --enable-newlib-global-stdio-streams \ + --disable-newlib-atexit-dynamic-alloc \ + --enable-newlib-nano-formatted-io \ --with-float=soft \ --enable-soft-float \ >configure.log 2>&1 |
