Changeset 47c1928 for configure.ac


Ignore:
Timestamp:
Aug 10, 2018, 5:45:51 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer
Children:
ae628e1
Parents:
2ea0a8a
Message:

Host now properly affects compiler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r2ea0a8a r47c1928  
    121121AC_CANONICAL_HOST
    122122
     123if ! test "$host_cpu" = "$build_cpu"; then
     124        case $host_cpu in
     125                i386)
     126                        HOST_FLAGS="-m32"
     127                        ;;
     128                i686)
     129                        HOST_FLAGS="-m32"
     130                        ;;
     131                x86_64)
     132                        HOST_FLAGS="-m64"
     133                        ;;
     134        esac
     135fi
     136AC_SUBST(HOST_FLAGS)
     137
    123138default_target="${host_cpu}:debug, ${host_cpu}:nodebug"
    124139AC_ARG_WITH(target-hosts,
Note: See TracChangeset for help on using the changeset viewer.