diff options
| author | Roman Divacky <rdivacky@freebsd.org> | 2011-03-01 17:53:14 +0000 |
|---|---|---|
| committer | Roman Divacky <rdivacky@freebsd.org> | 2011-03-01 17:53:14 +0000 |
| commit | ee8188a23b5ba453271c3af12ec2610b92a3b163 (patch) | |
| tree | 9e2d6a68ccc23b531d85126c430d747ce63f8ee3 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
| parent | 65b88cdb3bd34e5000b30533fa1599c959029719 (diff) | |
| download | bcm5719-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/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions

