summaryrefslogtreecommitdiff
path: root/tools/llvm-ld
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-02-09 04:17:39 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-02-09 04:17:39 +0000
commitfea2b517cfce217e7a0a46f25960798937efbca6 (patch)
treee14a73b7aff380de1876d38c76f1213577a86b47 /tools/llvm-ld
parent2710638db2eb84cd7eefb8bb9a1b7e5c49413d45 (diff)
downloadllvm-fea2b517cfce217e7a0a46f25960798937efbca6.tar.gz
llvm-fea2b517cfce217e7a0a46f25960798937efbca6.tar.bz2
llvm-fea2b517cfce217e7a0a46f25960798937efbca6.tar.xz
tools/llvm-ld: Cygwin can handle #!shbang.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125165 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-ld')
-rw-r--r--tools/llvm-ld/llvm-ld.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-ld/llvm-ld.cpp b/tools/llvm-ld/llvm-ld.cpp
index 442c4da569..cd6ce256db 100644
--- a/tools/llvm-ld/llvm-ld.cpp
+++ b/tools/llvm-ld/llvm-ld.cpp
@@ -410,7 +410,7 @@ static int GenerateNative(const std::string &OutputFilename,
static void EmitShellScript(char **argv, Module *M) {
if (Verbose)
errs() << "Emitting Shell Script\n";
-#if defined(_WIN32) || defined(__CYGWIN__)
+#if defined(_WIN32)
// Windows doesn't support #!/bin/sh style shell scripts in .exe files. To
// support windows systems, we copy the llvm-stub.exe executable from the
// build tree to the destination file.