Changeset 7443


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

(trunk) configure.ac portability tweak suggested by fulgas

Location:
trunk
Files:
2 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
  • trunk/libtransmission/bandwidth.c

    r7441 r7443  
    339339    }
    340340
    341     /* Second phase of IO.  To help us scale well in high bandiwdth situations
     341    /* Second phase of IO.  To help us scale well in high bandwidth situations
    342342     * such as LANs, enable on-demand IO for peers with bandwidth left to burn.
    343343     * This on-demand IO for a peer is enabled until either (1) the peer runs
Note: See TracChangeset for help on using the changeset viewer.