[patch] Check for -Wl,--gc-sections

Richard Hughes hughsient at gmail.com
Mon Jun 18 04:51:49 PDT 2007

Havoc mentioned I should try using --gc-sections to reduce the size of
the setuid binary.

without patch:

1.2M unstripped
540K stripped

with patch:

928K unstripped
284K stripped

Please review attached patch which adds detection to the configure

I'll be "drip feeding" other additions and cleanups to the list today
rather than just submit a mega-patch as I think little patches are
easier (and hopefully quicker) to review. Thanks.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-gc-sections.patch
Type: text/x-patch
Size: 1090 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20070618/57ecdf28/attachment.bin 

More information about the dbus mailing list