summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenAction.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
commitee8188a23b5ba453271c3af12ec2610b92a3b163 (patch)
tree9e2d6a68ccc23b531d85126c430d747ce63f8ee3 /clang/lib/CodeGen/CodeGenAction.cpp
parent65b88cdb3bd34e5000b30533fa1599c959029719 (diff)
downloadbcm5719-llvm-ee8188a23b5ba453271c3af12ec2610b92a3b163.tar.gz
bcm5719-llvm-ee8188a23b5ba453271c3af12ec2610b92a3b163.zip
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! llvm-svn: 126757
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud