Add support to enable -lfoo to be processed correctly

llvm-svn: 1390
This commit is contained in:
Chris Lattner 2001-11-26 19:18:30 +00:00
parent b89a7e72fb
commit 3d9510ccc8
2 changed files with 6 additions and 2 deletions

View File

@ -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;

View File

@ -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;