[llvm-commits] [llvm] r125165 - /llvm/trunk/tools/llvm-ld/llvm-ld.cpp
NAKAMURA Takumi
geek4civic at gmail.com
Tue Feb 8 20:17:39 PST 2011
Author: chapuni
Date: Tue Feb 8 22:17:39 2011
New Revision: 125165
URL: http://llvm.org/viewvc/llvm-project?rev=125165&view=rev
Log:
tools/llvm-ld: Cygwin can handle #!shbang.
Modified:
llvm/trunk/tools/llvm-ld/llvm-ld.cpp
Modified: llvm/trunk/tools/llvm-ld/llvm-ld.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-ld/llvm-ld.cpp?rev=125165&r1=125164&r2=125165&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-ld/llvm-ld.cpp (original)
+++ llvm/trunk/tools/llvm-ld/llvm-ld.cpp Tue Feb 8 22:17:39 2011
@@ -410,7 +410,7 @@
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.
More information about the llvm-commits
mailing list