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 | de3b862a18d8f8a9e2f8caaf4fc2ea0f3f21ea3d (patch) | |
tree | 27ca0c53ed6fb436396f0354e92cefc17d10489b /tools/llvm-link | |
parent | 75deac6b12557f057ad3123cf2fb6f52a6a48dd2 (diff) |
Add support to enable -lfoo to be processed correctly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1390 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-link')
-rw-r--r-- | tools/llvm-link/llvm-link.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/llvm-link/llvm-link.cpp b/tools/llvm-link/llvm-link.cpp index 7aa8a04076..80a39b2d9c 100644 --- a/tools/llvm-link/llvm-link.cpp +++ b/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; |