diff options
| author | Ron Yorston <rmy@pobox.com> | 2026-03-21 15:17:04 +0000 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2026-03-21 15:17:04 +0000 |
| commit | 8d97f41766c905bf527ee1b08d021fc4ae9d5af3 (patch) | |
| tree | b15a098c0062b976f9a30f1e06e0f23c9b7d2507 /scripts | |
| parent | 5b1e02cde21fef4fb9d8e8130818bb49e422dcfa (diff) | |
| download | busybox-w32-8d97f41766c905bf527ee1b08d021fc4ae9d5af3.tar.gz busybox-w32-8d97f41766c905bf527ee1b08d021fc4ae9d5af3.tar.bz2 busybox-w32-8d97f41766c905bf527ee1b08d021fc4ae9d5af3.zip | |
build system: add option to place statics in .bss
Upstream BusyBox uses the '-fdata-sections' compiler flag. On
Windows this has the unfortunate side effect that static variables
are placed in the .data section, thus increasing the size of the
binary.
Add a configuration option, STATICS_IN_BSS, to force statics into
.bss on Windows, saving 2-5KB for most binaries. It has no
effect on POSIX builds, where statics are always placed in .bss.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
