Patch for supporting 'use_system_lib' on Linux

Daniel Dunbar daniel at
Wed Feb 6 09:47:26 PST 2013

Thanks Michael!

Applied in r174527.

I also went ahead and switched the default for use_system_lib to be false
(r174528), since that is more likely what users expect.

 - Daniel

On Wed, Feb 6, 2013 at 3:36 AM, Michael van der Westhuizen <
r1mikey at> wrote:

> Hi All,
> As per Daniel's commit message in libcxx r174404, here's Linux support for
> the use_system_lib parameter.
> To use the freshly built libcxx without installing it in CMake you'll need
> to pass '-DLLVM_LIT_ARGS=-sv --param use_system_lib=0' to your CMake call
> (as this defaults to True to match the Darwin behaviour).
> This is a deviation from previous behaviour (which was to unconditionally
> use the freshly built libcxx), so perhaps the logic under Linux needs to be
> reversed?
> Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the cfe-commits mailing list