Driver: Setup file and program search paths in tool chains.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67529 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Driver/HostInfo.cpp b/lib/Driver/HostInfo.cpp
index 8c24a3c..8f76209 100644
--- a/lib/Driver/HostInfo.cpp
+++ b/lib/Driver/HostInfo.cpp
@@ -159,7 +159,9 @@
     if (strcmp(ArchName, "i386") == 0 || strcmp(ArchName, "x86_64") == 0)
       TC = new toolchains::Darwin_X86(*this, ArchName, 
                                       getPlatformName().c_str(), 
-                                      getOSName().c_str());
+                                      getOSName().c_str(),
+                                      DarwinVersion,
+                                      GCCVersion);
     else
       TC = new toolchains::Darwin_GCC(*this, ArchName, 
                                       getPlatformName().c_str(),