diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-03-23 16:15:50 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-03-23 16:15:50 +0000 |
commit | 76ce7416ae11bd5e5d4f84f8e38efda00aef1b81 (patch) | |
tree | 4c62e817d228d9288566129e5d47f48ee803ed35 /clang/lib/Driver/HostInfo.cpp | |
parent | 52c278e54d45646a2224a7c45a6f2f9b8275cc9c (diff) | |
download | bcm5719-llvm-76ce7416ae11bd5e5d4f84f8e38efda00aef1b81.tar.gz bcm5719-llvm-76ce7416ae11bd5e5d4f84f8e38efda00aef1b81.zip |
Driver: Setup file and program search paths in tool chains.
llvm-svn: 67529
Diffstat (limited to 'clang/lib/Driver/HostInfo.cpp')
-rw-r--r-- | clang/lib/Driver/HostInfo.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/lib/Driver/HostInfo.cpp b/clang/lib/Driver/HostInfo.cpp index 8c24a3c707b..8f762095b61 100644 --- a/clang/lib/Driver/HostInfo.cpp +++ b/clang/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(), |