Changeset a32346b for driver/cfa.cc


Ignore:
Timestamp:
Sep 25, 2018, 4:56:55 PM (6 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
34a6b2e, a332d432
Parents:
48b7085e (diff), 560812b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg2.cs.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • driver/cfa.cc

    r48b7085e ra32346b  
    359359
    360360        string arch = m32 ? CFA_32_CPU : (m64 ? CFA_64_CPU : CFA_DEFAULT_CPU);
    361         if ( ! m32 && ! m64 && arch == "x86" ) {                        // no override and 32-bit architecture
    362                 args[nargs] = "-m32";
    363                 nargs += 1;
     361        if ( ! m32 && ! m64 ) {
     362                if ( arch == "x86" ) {
     363                        args[nargs] = "-m32";
     364                        nargs += 1;
     365                } else if ( arch == "x64" ) {
     366                        args[nargs] = "-m64";
     367                        nargs += 1;
     368                }  // if
    364369        } // if
    365370        const char * config = debug ? "debug": "nodebug";
Note: See TracChangeset for help on using the changeset viewer.