]> granicus.if.org Git - clang/commit
On FreeBSD, we don't want 'getDriver().Dir + "/../lib"' added to the
authorRoman Divacky <rdivacky@freebsd.org>
Tue, 1 Mar 2011 18:03:28 +0000 (18:03 +0000)
committerRoman Divacky <rdivacky@freebsd.org>
Tue, 1 Mar 2011 18:03:28 +0000 (18:03 +0000)
commit20f1462f817ac1374f42c6d62853f137feff147b
treea8f246c2caa62c6109c284b6e1fbd93531433e1c
parent58e5ac9d41d8186bea92e892d572e2eea28d3f9c
On FreeBSD, we don't want 'getDriver().Dir + "/../lib"' added to the
ToolChain's FilePaths.  If clang is installed as a port in /usr/local,
it is *not* supposed to use /usr/local/lib by default, for example.

Additionally, there are no clang-related executables in either
/usr/libexec, or getDriver().Dir + "/../libexec", anymore, so remove
that from the ToolChain's ProgramPaths.

Patch by Dimitry Andric!

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