Changeset 7443 for trunk/configure.ac


Ignore:
Timestamp:
Dec 21, 2008, 12:22:41 AM (13 years ago)
Author:
charles
Message:

(trunk) configure.ac portability tweak suggested by fulgas

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r7430 r7443  
    9797AC_ARG_ENABLE([debug], AS_HELP_STRING([--enable-debug],[build with debugging support]),,,)
    9898if test "x$enable_debug" = "xyes" ; then
    99         CFLAGS+=" -g "
    100         CXXFLAGS+=" -g "
     99        CFLAGS="$CFLAGS -g -O0"
     100        CXXFLAGS="$CXXFLAGS -g -O0"
    101101else
    102         CFLAGS+=" -g -O3 -funroll-loops -DNDEBUG "
    103         CXXFLAGS+=" -g -O3 -funroll-loops -DNDEBUG "
     102        CFLAGS="$CFLAGS -g -O3 -funroll-loops -DNDEBUG "
     103        CXXFLAGS="$CXXFLAGS -g -O3 -funroll-loops -DNDEBUG "
    104104fi
    105105
Note: See TracChangeset for help on using the changeset viewer.