<div dir="ltr">Now with the same change for cmake too.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 26, 2013 at 8:50 PM, Nico Weber <span dir="ltr"><<a href="mailto:thakis@chromium.org" target="_blank">thakis@chromium.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>the attached patch turns on link-time dead code stripping for clang-format, with the configure/make build. This reduces the size of clang-format from 13MB to 1.6MB.</div>
<div><br></div>
<div>Ok?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Nico</div></font></span><div><br></div><div>ps: The equivalent on linux is I think compiling with -ffunction-sections -fdata-sections and linking with -Wl,-gc-sections, but I don't have access to a linux box to try this at the moment.</div>

</div>
</blockquote></div><br></div>