<div dir="ltr">I kept the CMake option, so by default the driver will use the value set through CMake as before but individual targets can now set their platform default.<div><br><div class="gmail_quote"><div dir="ltr">On Tue, Nov 21, 2017 at 1:30 PM Rafael Avila de Espindola <<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Petr Hosek via Phabricator <<a href="mailto:reviews@reviews.llvm.org" target="_blank">reviews@reviews.llvm.org</a>> writes:<br>
<br>
<br>
> -# This is a "Does your linker support it?" option that only applies<br>
> -# to x86-64 ELF targets. All Fuchsia target linkers do support it.<br>
> -# For x86-64 Linux, it's supported by LLD and by GNU linkers since<br>
> -# binutils 2.27, so one can hope that all Linux hosts in use handle it.<br>
> -# Ideally this would be settable as a per-target option.<br>
> -set(ENABLE_X86_RELAX_RELOCATIONS ON CACHE BOOL "")<br>
> -<br>
<br>
We still have to be able to set it via cmake.<br>
<br>
Cheers,<br>
Rafeal<br>
</blockquote></div></div></div>