aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/HostInfo.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-03-23 16:15:50 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-03-23 16:15:50 +0000
commitc50b00dbd843cd929b5f220d4a8699852249f64c (patch)
tree00966e367e5a1704372bfdb400cae80f312441f1 /lib/Driver/HostInfo.cpp
parent1e0107a3d1e9477bb3fc0bf0dbe1b52cbdd23a77 (diff)
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
Diffstat (limited to 'lib/Driver/HostInfo.cpp')
-rw-r--r--lib/Driver/HostInfo.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Driver/HostInfo.cpp b/lib/Driver/HostInfo.cpp
index 8c24a3c707..8f762095b6 100644
--- a/lib/Driver/HostInfo.cpp
+++ b/lib/Driver/HostInfo.cpp
@@ -159,7 +159,9 @@ ToolChain *DarwinHostInfo::getToolChain(const ArgList &Args,
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(),