Ignore:
Timestamp:
2010-01-06T17:30:17+13:00 (14 years ago)
Author:
davidb
Message:

Update to use of -m32, which is activated when compiling on a 64-bit machine. The requirement for needing to using -m32 is mg and mg++ (which currently only work with 32-bit sized data-types). If both --disable-mg and --disable-mgpp are specified this means that we don't need to use -m32. Configure files updated to detect this and 'cancel' the -m32 flag.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/build-src/configure

    r18214 r21432  
    31333133  fi
    31343134fi
     3135
     3136# Only need compat32bitflag if using MG or MGPP
     3137if test "$ENABLE_MG" = "0" ; then
     3138  COMPAT32BITFLAGS=
     3139else
     3140  if test "$ENABLE_MGPP" = "0" ; then
     3141    COMPAT32BITFLAGS=
     3142  fi
     3143fi
     3144
    31353145export COMPAT32BITFLAGS
    31363146
Note: See TracChangeset for help on using the changeset viewer.