diff options
author | Chris Lattner <sabre@nondot.org> | 2001-11-26 19:18:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-11-26 19:18:30 +0000 |
commit | 3d9510ccc8d3ab9dc39b7620f3080b53e34fa8ee (patch) | |
tree | 3df68c0516871ab862dcb78da96636a0e36a9f2c /llvm/tools/llvm-link/llvm-link.cpp | |
parent | b89a7e72fb71ea5e90c69c950940eb33dc543158 (diff) | |
download | bcm5719-llvm-3d9510ccc8d3ab9dc39b7620f3080b53e34fa8ee.tar.gz bcm5719-llvm-3d9510ccc8d3ab9dc39b7620f3080b53e34fa8ee.zip |
Add support to enable -lfoo to be processed correctly
llvm-svn: 1390
Diffstat (limited to 'llvm/tools/llvm-link/llvm-link.cpp')
-rw-r--r-- | llvm/tools/llvm-link/llvm-link.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/tools/llvm-link/llvm-link.cpp b/llvm/tools/llvm-link/llvm-link.cpp index 7aa8a040761..80a39b2d9c1 100644 --- a/llvm/tools/llvm-link/llvm-link.cpp +++ b/llvm/tools/llvm-link/llvm-link.cpp @@ -54,7 +54,9 @@ static inline std::auto_ptr<Module> LoadFile(const string &FN) { } int main(int argc, char **argv) { - cl::ParseCommandLineOptions(argc, argv, " llvm linker\n"); + cl::ParseCommandLineOptions(argc, argv, " llvm linker\n", + cl::EnableSingleLetterArgValue | + cl::DisableSingleLetterArgGrouping); assert(InputFilenames.size() > 0 && "OneOrMore is not working"); unsigned BaseArg = 0; |