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 | 7881ac97a5b4efb5b414356504273ba09ed7b654 (patch) | |
tree | fa514c45255baa31abc53fb0db8bfd2b58780eb7 /clang/lib/Driver/HostInfo.cpp | |
parent | 2a685bdbee6394eff8da6531ea6e12cc98419bec (diff) | |
download | bcm5719-llvm-7881ac97a5b4efb5b414356504273ba09ed7b654.tar.gz bcm5719-llvm-7881ac97a5b4efb5b414356504273ba09ed7b654.zip |
Revert r83443.
llvm-svn: 83451
Diffstat (limited to 'clang/lib/Driver/HostInfo.cpp')
-rw-r--r-- | clang/lib/Driver/HostInfo.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/clang/lib/Driver/HostInfo.cpp b/clang/lib/Driver/HostInfo.cpp index 22fe11d661a..08c4ef49001 100644 --- a/clang/lib/Driver/HostInfo.cpp +++ b/clang/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() { |