[patch] Look for libstdc++ install dir before /usr

Chandler Carruth chandlerc at google.com
Wed Aug 28 15:52:04 PDT 2013


LGTM. Yea, the order here was just wrong.



On Wed, Aug 28, 2013 at 3:49 PM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> Hi Chandler,
>
> While working on making libc++ easier to use, I noticed that clang was
> not finding even libstdc++ installed next to it. The problem is that
> the libstdc++ I had installed was exactly the same version as the
> system one.
>
> The attached patch changes the driver to look first at the clang
> install directory if it is not given a sysroot.
>
> Not sure if there is a way to test this. We do have -ccc-install-dir,
> but the patch only changes the case where sysroot is not set.
>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130828/22d0ffc9/attachment.html>


More information about the cfe-commits mailing list