summaryrefslogtreecommitdiff
blob: 69ce7820df2bdbeb50d48ec58fc9ac0f856eb4e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -upNr a/llvm-3.1.src/tools/clang/lib/Driver/ToolChains.cpp b/llvm-3.1.src/tools/clang/lib/Driver/ToolChains.cpp
--- a/llvm-3.1.src/tools/clang/lib/Driver/ToolChains.cpp	2012-05-24 04:08:48.393073000 -0400
+++ b/llvm-3.1.src/tools/clang/lib/Driver/ToolChains.cpp	2012-05-24 04:11:38.113153421 -0400
@@ -1635,6 +1635,8 @@ FreeBSD::FreeBSD(const Driver &D, const
     getFilePaths().push_back(getDriver().SysRoot + "/usr/lib32");
   else
     getFilePaths().push_back(getDriver().SysRoot + "/usr/lib");
+
+   getFilePaths().push_back(GCCInstallation.getInstallPath());
 }
 
 Tool &FreeBSD::SelectTool(const Compilation &C, const JobAction &JA,