<div class="gmail_quote">On Mon, May 14, 2012 at 10:47 AM, Andrew C. Morrow <span dir="ltr"><<a href="mailto:andrew.c.morrow@gmail.com" target="_blank">andrew.c.morrow@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,<br>
<br>
I was experimenting with getting libc++abi and libc++ working on<br>
Linux, and I noticed that mainline clang doesn't honor the<br>
-nodefaultlibs flag on that platform. There is an open bug for this<br>
issue: <a href="http://llvm.org/bugs/show_bug.cgi?id=11172" target="_blank">http://llvm.org/bugs/show_bug.cgi?id=11172</a>. I've attached a<br>
patch to tools/Driver.cpp that is my best guess at a fix, based on how<br>
-nodefaultlibs is handled for other platforms in that file. The patch<br>
also adds a new test for the feature, derived from the -nostdlib flag<br>
test.<br></blockquote><div><br></div><div>Thanks, committed in r156771! =]</div></div>