diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-10-07 03:21:11 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-10-07 03:21:11 +0000 |
commit | 55bac5339154cedc7541b5648f9c3486e547b45c (patch) | |
tree | db109b6037fac554e088ec139ba569f266cddf60 /lib/Driver/HostInfo.cpp | |
parent | c4355b6883382b85cda3b7337587784dabf3450b (diff) |
Revert r83443.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83451 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/HostInfo.cpp')
-rw-r--r-- | lib/Driver/HostInfo.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/Driver/HostInfo.cpp b/lib/Driver/HostInfo.cpp index 22fe11d661..08c4ef4900 100644 --- a/lib/Driver/HostInfo.cpp +++ b/lib/Driver/HostInfo.cpp @@ -42,7 +42,7 @@ class DarwinHostInfo : public HostInfo { unsigned DarwinVersion[3]; /// GCC version to use on this host. - unsigned GCCVersion[4]; + unsigned GCCVersion[3]; /// Cache of tool chains we have created. mutable llvm::DenseMap<unsigned, ToolChain*> ToolChains; @@ -84,12 +84,6 @@ DarwinHostInfo::DarwinHostInfo(const Driver &D, const llvm::Triple& Triple) GCCVersion[0] = 4; GCCVersion[1] = 2; GCCVersion[2] = 1; - // And we need to select the OS gcc was configured for, darwin10 -#ifdef OS_MAJOR - GCCVersion[3] = OS_MAJOR; -#else - GCCVersion[3] = 10; -#endif } DarwinHostInfo::~DarwinHostInfo() { |