[patch][cmake] Use -Wl,-O3 when linking

Chandler Carruth chandlerc at google.com
Sat Nov 1 21:14:39 PDT 2014


The general idea here LGTM... I wonder, should it be behind a whitelist
instead of a blacklist? I just don't want to break some random linker out
there.

What does lld do with this flag?

Feel free to commit once you've sorted out other linkers and how you want
to handle them.

On Sat, Nov 1, 2014 at 7:34 PM, Rafael EspĂ­ndola <rafael.espindola at gmail.com
> wrote:

> This enables different optimizations in different linkers. In the case
> of gold they include the zlib level and string merging.
>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141101/3df367b2/attachment.html>


More information about the llvm-commits mailing list