aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2024-01-03 14:29:11 +0000
committerRon Yorston <rmy@pobox.com>2024-01-03 14:29:11 +0000
commit306601c86fa1cc6c210b7f18d597b8c0821ab19a (patch)
tree94177968ffcce05238e97847a5f4ae6481a73fb6 /arch
parentcca8c8e806db11810e25c8fa9446e86431aa2a53 (diff)
downloadbusybox-w32-306601c86fa1cc6c210b7f18d597b8c0821ab19a.tar.gz
busybox-w32-306601c86fa1cc6c210b7f18d597b8c0821ab19a.tar.bz2
busybox-w32-306601c86fa1cc6c210b7f18d597b8c0821ab19a.zip
win32: make the clang build less crashy
busybox-w32 binaries built using clang crashed so frequently that they were pretty much unusable. The main issue seems to be with assignments to the structures containing global variables which are used in most applets. Upstream commit 5156b2455 (Make const ptr assign as function call in clang) addresses this, but is insufficient for the build on Windows. Extend the idea to the ASSIGN_CONST_PTR() macro too. Costs 32-80 bytes in the gcc build.
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions