just -O is not enough to prevent gcc from optimizing away loop variables.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1132
d4fa192b-c00b-0410-8231-
f00ffab90ce4
CFLAGS="${CFLAGS} ${DEVELOPER_CFLAGS}")
AC_ARG_ENABLE(debugging-symbols,
AS_HELP_STRING([--enable-debugging-symbols],[enable debugging symbols (default is NO)]),
- CFLAGS="${CFLAGS} -O -g -fno-inline")
+ CFLAGS="${CFLAGS} -O0 -g -fno-inline")
AC_ARG_ENABLE(werror,
AS_HELP_STRING([--enable-werror],[use -Werror (default is NO)]),
CFLAGS="${CFLAGS} -Werror")