<div dir="ltr">LGTM. Yea, the order here was just wrong.<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 28, 2013 at 3:49 PM, Rafael EspĂndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Chandler,<br>
<br>
While working on making libc++ easier to use, I noticed that clang was<br>
not finding even libstdc++ installed next to it. The problem is that<br>
the libstdc++ I had installed was exactly the same version as the<br>
system one.<br>
<br>
The attached patch changes the driver to look first at the clang<br>
install directory if it is not given a sysroot.<br>
<br>
Not sure if there is a way to test this. We do have -ccc-install-dir,<br>
but the patch only changes the case where sysroot is not set.<br>
<br>
Cheers,<br>
Rafael<br>
</blockquote></div><br></div>