[cfe-dev] Patch to support -nodefaultlibs flag on Linux targets (fixes llvm bug 11172)

Chandler Carruth chandlerc at google.com
Mon May 14 11:32:35 PDT 2012

On Mon, May 14, 2012 at 10:47 AM, Andrew C. Morrow <
andrew.c.morrow at gmail.com> wrote:

> Hi,
> I was experimenting with getting libc++abi and libc++ working on
> Linux, and I noticed that mainline clang doesn't honor the
> -nodefaultlibs flag on that platform. There is an open bug for this
> issue: http://llvm.org/bugs/show_bug.cgi?id=11172. I've attached a
> patch to tools/Driver.cpp that is my best guess at a fix, based on how
> -nodefaultlibs is handled for other platforms in that file. The patch
> also adds a new test for the feature, derived from the -nostdlib flag
> test.

Thanks, committed in r156771! =]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120514/c9db0d81/attachment.html>

More information about the cfe-dev mailing list