Changeset 13a984c


Ignore:
Timestamp:
Sep 25, 2018, 10:56:31 AM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
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:
b90aace
Parents:
41cca44
Message:

Force -m64 the same way -m32 is

File:
1 edited

Legend:

Unmodified
Added
Removed
  • driver/cfa.cc

    r41cca44 r13a984c  
    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.