- Timestamp:
- Feb 28, 2019, 2:43:01 PM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- a1099278
- Parents:
- 8f74a6a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
driver/cfa.cc
r8f74a6a rc9e640e 107 107 bool link = true; // linking as well as compiling 108 108 bool verbose = false; // -v flag 109 bool quiet = false; // -quiet flag 110 bool debug = true; // -debug flag 111 bool help = false; // -help flag 109 bool quiet = false; // -quiet flag 110 bool debug = true; // -debug flag 111 bool nolib = false; // -nolib flag 112 bool help = false; // -help flag 112 113 bool CFA_flag = false; // -CFA flag 113 114 bool cpp_flag = false; // -E or -M flag, preprocessor only … … 162 163 debug = true; // strip the debug flag 163 164 } else if ( arg == "-nodebug" ) { 164 debug = false; // strip the nodebug flag 165 debug = false; // strip the debug flag 166 } else if ( arg == "-nolib" ) { 167 nolib = true; // strip the nodebug flag 165 168 } else if ( arg == "-quiet" ) { 166 169 quiet = true; // strip the quiet flag … … 366 369 } // if 367 370 } // if 368 const char * config = debug ? "debug": "nodebug";371 const char * config = nolib ? "nolib" : (debug ? "debug": "nodebug"); 369 372 string libdir = libbase + arch + "-" + config; 370 373 371 if ( ! dirExists( libdir ) ) {374 if ( ! nolib && ! dirExists( libdir ) ) { 372 375 cerr << argv[0] << " internal error, configuration " << config << " not installed." << endl; 373 376 cerr << "Was looking for " << libdir << endl;
Note: See TracChangeset
for help on using the changeset viewer.