summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-01-21 14:46:01 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-01-21 14:46:01 +0000
commit44193b732eb4eeb670c75cdf28c4dd953e7a8ab7 (patch)
tree083627823c154c11cde9484cab1774ee99dafaf3 /clang/lib/Driver/Tools.cpp
parent5cff13a3fbfdc7ed489dc016c59111a4ab0ea6ae (diff)
downloadbcm5719-llvm-44193b732eb4eeb670c75cdf28c4dd953e7a8ab7.tar.gz
bcm5719-llvm-44193b732eb4eeb670c75cdf28c4dd953e7a8ab7.zip
[Cygwin] Abandon Cygwin-1.5 and g++-3. Use g++-4.3 and higher on Cygwin-1.7.
llvm-svn: 148636
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
-rw-r--r--clang/lib/Driver/Tools.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp
index 0142a28fe80..a3ce05f715d 100644
--- a/clang/lib/Driver/Tools.cpp
+++ b/clang/lib/Driver/Tools.cpp
@@ -36,13 +36,6 @@
#include "InputInfo.h"
#include "ToolChains.h"
-#ifdef __CYGWIN__
-#include <cygwin/version.h>
-#if defined(CYGWIN_VERSION_DLL_MAJOR) && CYGWIN_VERSION_DLL_MAJOR<1007
-#define IS_CYGWIN15 1
-#endif
-#endif
-
using namespace clang::driver;
using namespace clang::driver::tools;
using namespace clang;
@@ -2748,12 +2741,7 @@ void gcc::Common::ConstructJob(Compilation &C, const JobAction &JA,
if (!customGCCName.empty())
GCCName = customGCCName.c_str();
else if (D.CCCIsCXX) {
-#ifdef IS_CYGWIN15
- // FIXME: Detect the version of Cygwin at runtime?
- GCCName = "g++-4";
-#else
GCCName = "g++";
-#endif
} else
GCCName = "gcc";
OpenPOWER on IntegriCloud