Make Bitrig's clang understand -stdlib= correctly.
authorChandler Carruth <chandlerc@gmail.com>
Mon, 8 Oct 2012 21:31:38 +0000 (21:31 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 8 Oct 2012 21:31:38 +0000 (21:31 +0000)
commitc0f5cd1928bd099e407ce0bac43edb830717edb1
tree7fe7221ddef5f0821cf69679b2d239e321ffef84
parent99b0092a40d5c434b11e9023337c7b572f2c3e4f
Make Bitrig's clang understand -stdlib= correctly.
With this patch Bitrig can use a different c++ library without pain and
within the normal commandline parameters.

Original patch by David Hill, with lots of fixes and cleanup by me.

llvm-svn: 165430
clang/lib/Driver/ToolChains.cpp
clang/test/Driver/bitrig.c [new file with mode: 0644]