<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/60277>60277</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Clean up the clang bootstrap build LTO walk-around for the Apple hosts. 
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
            petrhosek
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          zeroomega
      </td>
    </tr>
</table>

<pre>
    There is a walk-around used in https://github.com/llvm/llvm-project/blob/37505da42f62d71b8565b11afdafb1cccc8ad127/clang/CMakeLists.txt#L600 in order to use LTO when host is a Apple device. This walk-round is not needed anymore if linker is LLD. Therefore this part of code needs clean up and it should not be used when clang is built with LLD. 
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUks9ynDwQxJ9GXKZMoeHf7oGDP7s47Ve5-AVG0oCU1SJKEnacp08BcSrXnDgM0-rfdFNKbl6YB9H-JxBXztGGxHeBKNrXgrZsQxx-cgzhwTMVKpjP4c1yZHAJCD7I358ohm0xsCU24BawOa9J1M8CR4Hj7LLdVKnDQ-Do_fvX52mN4TvrLHBUPiiBY923VWuowalD00t1abtWSUmToUlJrbW-kJHYCxy1p2UWOL78T3e-uZRTmX9kgfWtq6rdQ4iGI-Swm4Lb2zf4sLyADSmfvp_X1TMYfneaS3izLp0oJ4lLsIQMC7NhA7R8PsIOPIF3y53jPr_dXvc9jjzts7wrrBQzhAl0MHwsJ9CeaYFtBdplMyQbNm8OdcXnxQ5nB9CuqzbnM3y4bM8nCjPU5lpfqeBBdn3Tyapru8IOsta6oabpFCFfeoMkZXuRfXVFVXeqL9yAFdaVxLaSdV93pSJse1JTT1VHqK6iqfhBzpd7HGWIc-FS2njoKuz7wpNin45etK9FHI7M1DYn0VT-uPifteyy5-HlCzVb_s2jQsgpR1oPLHMG8VdjphCPv8809nRSCcUW_fDPHTqsJ4Hj4f5XAAAA__8wVPDE">