Changeset 47c1928 for configure


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

Host now properly affects compiler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r2ea0a8a r47c1928  
    668668LIBCFA_TARGET_DIRS
    669669TARGET_HOSTS
     670HOST_FLAGS
    670671host_os
    671672host_vendor
     
    34113412
    34123413
     3414if ! test "$host_cpu" = "$build_cpu"; then
     3415        case $host_cpu in
     3416                i386)
     3417                        HOST_FLAGS="-m32"
     3418                        ;;
     3419                i686)
     3420                        HOST_FLAGS="-m32"
     3421                        ;;
     3422                x86_64)
     3423                        HOST_FLAGS="-m64"
     3424                        ;;
     3425        esac
     3426fi
     3427
     3428
    34133429default_target="${host_cpu}:debug, ${host_cpu}:nodebug"
    34143430
Note: See TracChangeset for help on using the changeset viewer.