Driver: only inject libstdc++ paths when needed on CrossWindows
authorSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 4 May 2017 19:18:21 +0000 (19:18 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 4 May 2017 19:18:21 +0000 (19:18 +0000)
commitc5728ca3e1684556f013a934761b7c3ea9a1c2f6
tree47b198c92efe50522fdbbac4425ea734cb5fc1be
parent038a0546dbbaf4d2be3417fd60e89af6c2bff4e3
Driver: only inject libstdc++ paths when needed on CrossWindows

When building with libc++ don't bother with injecting the libstdc++
search paths into the linker search path.  This will make it easier to
switch between ld and lld.

llvm-svn: 302184
clang/lib/Driver/ToolChains/CrossWindows.cpp
clang/test/Driver/windows-cross.c