projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2710638
)
tools/llvm-ld: Cygwin can handle #!shbang.
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Wed, 9 Feb 2011 04:17:39 +0000
(
04:17
+0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Wed, 9 Feb 2011 04:17:39 +0000
(
04:17
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125165
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-ld/llvm-ld.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-ld/llvm-ld.cpp
b/tools/llvm-ld/llvm-ld.cpp
index 442c4da5697a4a8876ca458e991f061d095b544b..cd6ce256db7b54e15c896b51326c06f0d145862a 100644
(file)
--- 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.