]> granicus.if.org Git - clang/commit
Look for libstdc++ first on the clang install directory.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 28 Aug 2013 23:17:47 +0000 (23:17 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 28 Aug 2013 23:17:47 +0000 (23:17 +0000)
commit69ca5e263feb5d231a81bbd28f96bca6a630bd50
treeb65cf9c72faa3d5d3d60081521073bd1a4b6f52a
parent7dc8e8175a3a1d4e40819932165e26b01091541e
Look for libstdc++ first on the clang install directory.

When sysroot is not set, look for libstdc++ first on the clang install
directory. Before this change if clang was installed alongside a gcc with
the same version as the system one we would select the system libstdc++.

Unfortunately this is hard to test as only the non-sysroot case is changed.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189536 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains.cpp