Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • driver/cfa.cc

    rc9e640e rdef9d4e  
    1010// Created On       : Tue Aug 20 13:44:49 2002
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sun Feb 10 08:28:09 2019
    13 // Update Count     : 281
     12// Last Modified On : Tue Jan 15 20:56:03 2019
     13// Update Count     : 280
    1414//
    1515
     
    107107        bool link = true;                                                                       // linking as well as compiling
    108108        bool verbose = false;                                                           // -v 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
     109        bool quiet = false;                                                                     // -quiet flag
     110        bool debug = true;                                                                      // -debug flag
     111        bool help = false;                                                                      // -help flag
    113112        bool CFA_flag = false;                                                          // -CFA flag
    114113        bool cpp_flag = false;                                                          // -E or -M flag, preprocessor only
     
    163162                                debug = true;                                                   // strip the debug flag
    164163                        } else if ( arg == "-nodebug" ) {
    165                                 debug = false;                                                  // strip the debug flag
    166                         } else if ( arg == "-nolib" ) {
    167                                 nolib = true;                                                   // strip the nodebug flag
     164                                debug = false;                                                  // strip the nodebug flag
    168165                        } else if ( arg == "-quiet" ) {
    169166                                quiet = true;                                                   // strip the quiet flag
     
    369366                }  // if
    370367        } // if
    371         const char * config = nolib ? "nolib" : (debug ? "debug": "nodebug");
     368        const char * config = debug ? "debug": "nodebug";
    372369        string libdir = libbase + arch + "-" + config;
    373370
    374         if ( ! nolib && ! dirExists( libdir ) ) {
     371        if ( ! dirExists( libdir ) ) {
    375372                cerr << argv[0] << " internal error, configuration " << config << " not installed." << endl;
    376373                cerr << "Was looking for " << libdir << endl;
     
    498495                args[nargs] = "-Wno-deprecated";
    499496                nargs += 1;
    500 #ifdef HAVE_CAST_FUNCTION_TYPE
    501                 args[nargs] = "-Wno-cast-function-type";
    502                 nargs += 1;
    503 #endif // HAVE_CAST_FUNCTION_TYPE
    504497                if ( ! std_flag ) {                                                             // default c11, if none specified
    505498                        args[nargs] = "-std=gnu11";
Note: See TracChangeset for help on using the changeset viewer.