aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/InitHeaderSearch.cpp
diff options
context:
space:
mode:
authorRoman Divacky <rdivacky@freebsd.org>2011-03-01 17:53:14 +0000
committerRoman Divacky <rdivacky@freebsd.org>2011-03-01 17:53:14 +0000
commit58e5ac9d41d8186bea92e892d572e2eea28d3f9c (patch)
tree3d37c8fdfe7af6e1af0cb351028239acd675b4ec /lib/Frontend/InitHeaderSearch.cpp
parentcfe9af250f466e7e38becea4428990448ae07737 (diff)
For linking on FreeBSD, don't add a hardcoded "-L/usr/lib", but
retrieve the library paths from the ToolChain object instead. Copy the relevant code from linuxtools::Link::ConstructJob(), and replace the std::string stuff with llvm::StringRef, while we're here. Patch by Dimitry Andric! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126757 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/InitHeaderSearch.cpp')
0 files changed, 0 insertions, 0 deletions