Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #255521

Category curl
Changed by Viktor Szakats <commitohnoyoudont@vsz.me>
Changed at Sun 18 Jan 2026 18:56:56
Repository https://github.com/curl/curl.git
Project curl
Branch master
Revision 0fdc61ffd7005a35e95bb15ef3507293338b31f5

Comments

INSTALL.md: suggest `-Wl,-dead_strip` for Apple targets
For reducing binary size. Also to remove (or greatly mitigate)
the side-effect of using "unity" builds. Similar to `-Wl,--gc-sections`
on non-Apple platforms.

For example with curl-for-win builds, macOS arm+intel:

curl (unity):                      7.7MB -> 6.8MB
libcurl.dylib (unity):             7.2MB -> 6.4MB
trurl /w static libcurl (!unity):  535KB -> 251KB (same size with unity)

Ref: https://github.com/curl/curl-for-win/commit/c4008d658ad82aed7d70e410a91f6d14273ebb0f

Closes #20346

Changed files