mirror of
https://github.com/transmission/transmission
synced 2025-02-04 05:22:40 +00:00
(trunk) configure.ac portability tweak suggested by fulgas
This commit is contained in:
parent
cb5d259f21
commit
f77ae353bb
2 changed files with 5 additions and 5 deletions
|
@ -96,11 +96,11 @@ dnl
|
|||
dnl debugging support
|
||||
AC_ARG_ENABLE([debug], AS_HELP_STRING([--enable-debug],[build with debugging support]),,,)
|
||||
if test "x$enable_debug" = "xyes" ; then
|
||||
CFLAGS+=" -g "
|
||||
CXXFLAGS+=" -g "
|
||||
CFLAGS="$CFLAGS -g -O0"
|
||||
CXXFLAGS="$CXXFLAGS -g -O0"
|
||||
else
|
||||
CFLAGS+=" -g -O3 -funroll-loops -DNDEBUG "
|
||||
CXXFLAGS+=" -g -O3 -funroll-loops -DNDEBUG "
|
||||
CFLAGS="$CFLAGS -g -O3 -funroll-loops -DNDEBUG "
|
||||
CXXFLAGS="$CXXFLAGS -g -O3 -funroll-loops -DNDEBUG "
|
||||
fi
|
||||
|
||||
|
||||
|
|
|
@ -338,7 +338,7 @@ tr_bandwidthAllocate( tr_bandwidth * b,
|
|||
i = 0;
|
||||
}
|
||||
|
||||
/* Second phase of IO. To help us scale well in high bandiwdth situations
|
||||
/* Second phase of IO. To help us scale well in high bandwidth situations
|
||||
* such as LANs, enable on-demand IO for peers with bandwidth left to burn.
|
||||
* This on-demand IO for a peer is enabled until either (1) the peer runs
|
||||
* out of bandwidth, or (2) the next tr_bandwidthAllocate() call, when we
|
||||
|
|
Loading…
Reference in a new issue