aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/ToolChains.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-08-02 05:44:01 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-08-02 05:44:01 +0000
commitc2bda62f0ccbfc22651d9d986282c497afc9be1d (patch)
tree6ef0d5b5e4b71c659c79dbae771fc7fa76888c90 /lib/Driver/ToolChains.cpp
parent214afe96b4210ca36d99621dd930225e6bf5b9b3 (diff)
Driver/Darwin: Inline some constants.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110026 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/ToolChains.cpp')
-rw-r--r--lib/Driver/ToolChains.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp
index 5a4ad6023c..1684fa9424 100644
--- a/lib/Driver/ToolChains.cpp
+++ b/lib/Driver/ToolChains.cpp
@@ -114,13 +114,13 @@ llvm::StringRef Darwin::getDarwinArchName(const ArgList &Args) const {
}
DarwinGCC::DarwinGCC(const HostInfo &Host, const llvm::Triple& Triple,
- const unsigned (&DarwinVersion)[3],
- const unsigned (&_GCCVersion)[3])
+ const unsigned (&DarwinVersion)[3])
: Darwin(Host, Triple, DarwinVersion)
{
- GCCVersion[0] = _GCCVersion[0];
- GCCVersion[1] = _GCCVersion[1];
- GCCVersion[2] = _GCCVersion[2];
+ // We can only work with 4.2.1 currently.
+ GCCVersion[0] = 4;
+ GCCVersion[1] = 2;
+ GCCVersion[2] = 1;
// Set up the tool chain paths to match gcc.
ToolChainDir = "i686-apple-darwin";