diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-06-02 22:18:46 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-06-02 22:18:46 +0000 |
commit | 14ea13cb5af3e9925e141458ab1388daa2ede86d (patch) | |
tree | 19dd77ec5913ec2acd852ad5a52393708616eff8 /lib/Basic/FileManager.cpp | |
parent | b6353e6db8eb8809620ab3116e127699ce8a426d (diff) |
We already have support for using c++ headers from a custom location.
Before this patch we would still link with the system libstdc++. It worked
fine most of the time, but would break if the used headers were a lot newer
than the system libraries.
This patch changes the driver to use the libraries corresponding to the
headers the user selected.
This fixes, for example, using 4.5 headers in a system with gcc 4.1.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132497 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions