Changeset 6e4b913 for configure


Ignore:
Timestamp:
Jul 10, 2016, 4:35:32 PM (6 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
4e06c1e, c13d970
Parents:
07bc165
Message:

allow 32-bit compilation of cfa-cpp, and 32-bit compilation of CFA programs (including CFA libraries)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r07bc165 r6e4b913  
    639639CXXFLAGS
    640640CXX
     641CFA_FLAGS
    641642CFA_LIBDIR
    642643CFA_BINDIR
     
    24562457
    24572458if test "x${CXXFLAGS}" = "x"; then
    2458    export CXXFLAGS="-std=c++11 -g -O2 ${CXXFLAGS}"
    2459 else
    2460    export CXXFLAGS="-std=c++11 ${CXXFLAGS}"
     2459   export CXXFLAGS="-std=c++11 -g ${CXXFLAGS}"  # defaults, no -O2 for debugging and failures
     2460else
     2461   export CXXFLAGS="-std=c++11 ${CXXFLAGS}"     # flags from configure command
    24612462fi
    24622463
     
    29612962  MAINT=$MAINTAINER_MODE_TRUE
    29622963
    2963         # may require auto* software to be installed
     2964                        # may require auto* software to be installed
    29642965
    29652966# Installation paths
     
    29732974fi
    29742975
    2975 if test "x$backendcompiler" != x; then
     2976if test "x$backendcompiler" != "x"; then
    29762977        BACKEND_CC=${backendcompiler}
    29772978else
     
    30153016fi
    30163017
    3017 
     3018        # check gcc installed
    30183019        if test "x$BACKEND_CC" = "x"; then
    30193020                as_fn_error $? "some version of gcc is needed. Get it at ftp://ftp.gnu.org" "$LINENO" 5
     
    30783079
    30793080CFA_LIBDIR=${cfa_libdir}
     3081
     3082
     3083
     3084cat >>confdefs.h <<_ACEOF
     3085#define CFA_FLAGS "${CFAFLAGS}"
     3086_ACEOF
     3087
     3088CFA_FLAGS=${CFAFLAGS}
    30803089
    30813090
Note: See TracChangeset for help on using the changeset viewer.