Driver: Tweak search paths for FreeBSD.
 - Patch by Pawel Worach!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68332 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp
index 3b129cf..daa45d7 100644
--- a/lib/Driver/ToolChains.cpp
+++ b/lib/Driver/ToolChains.cpp
@@ -373,10 +373,13 @@
 FreeBSD::FreeBSD(const HostInfo &Host, const char *Arch, 
                  const char *Platform, const char *OS, bool Lib32)
   : Generic_GCC(Host, Arch, Platform, OS) {
-  if (Lib32)
+  if (Lib32) {
     getFilePaths().push_back(getHost().getDriver().Dir + "/../lib32");
-  else
+    getFilePaths().push_back("/usr/lib32");
+  } else {
     getFilePaths().push_back(getHost().getDriver().Dir + "/../lib");
+    getFilePaths().push_back("/usr/lib");
+  }
 }
 
 Tool &FreeBSD::SelectTool(const Compilation &C, const JobAction &JA) const {