diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-01-09 01:01:17 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-01-09 01:01:17 +0000 |
| commit | 7ff4a8bf3feb1752e20505f5ec4ba92d42aa717d (patch) | |
| tree | d086404ac3247b3c2c6a3720ceb203febfd3192d /llvm/tools | |
| parent | 05d2876ec31b7edb80b698220209f1707869ba29 (diff) | |
| download | bcm5719-llvm-7ff4a8bf3feb1752e20505f5ec4ba92d42aa717d.tar.gz bcm5719-llvm-7ff4a8bf3feb1752e20505f5ec4ba92d42aa717d.zip | |
Fix llvm-ld -Xlinker, patch by Daniel Teske!
llvm-svn: 45770
Diffstat (limited to 'llvm/tools')
| -rw-r--r-- | llvm/tools/llvm-ld/llvm-ld.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/tools/llvm-ld/llvm-ld.cpp b/llvm/tools/llvm-ld/llvm-ld.cpp index 463fc8f6adf..4f888aa649f 100644 --- a/llvm/tools/llvm-ld/llvm-ld.cpp +++ b/llvm/tools/llvm-ld/llvm-ld.cpp @@ -338,10 +338,8 @@ static int GenerateNative(const std::string &OutputFilename, } // Add the requested options - for (unsigned index = 0; index < XLinker.size(); index++) { + for (unsigned index = 0; index < XLinker.size(); index++) args.push_back(XLinker[index]); - args.push_back(Libraries[index]); - } // Add in the libraries to link. for (unsigned index = 0; index < LinkItems.size(); index++) |

