summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitdb06756c9c72b73d62f8e2be2bcfda790ad7c7c4 (patch)
tree30c42167dc9701272626b3b3d7ab869360a67e33 /llvm/tools/llvm-ld
parent19ba2b4d6e7ce6d37c94a93ba154295dfb880588 (diff)
downloadbcm5719-llvm-db06756c9c72b73d62f8e2be2bcfda790ad7c7c4.tar.gz
bcm5719-llvm-db06756c9c72b73d62f8e2be2bcfda790ad7c7c4.zip
tools/llvm-ld: Cygwin can handle #!shbang.
llvm-svn: 125165
Diffstat (limited to 'llvm/tools/llvm-ld')
-rw-r--r--llvm/tools/llvm-ld/llvm-ld.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-ld/llvm-ld.cpp b/llvm/tools/llvm-ld/llvm-ld.cpp
index 442c4da5697..cd6ce256db7 100644
--- a/llvm/tools/llvm-ld/llvm-ld.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud