r1171 - branches/1.0

des at projects.linpro.no des at projects.linpro.no
Wed Oct 18 16:26:57 CEST 2006


Author: des
Date: 2006-10-18 16:26:57 +0200 (Wed, 18 Oct 2006)
New Revision: 1171

Modified:
   branches/1.0/
   branches/1.0/configure.ac
Log:
 r31763 at cat (orig r1132):  des | 2006-09-27 15:32:18 +0200
 Turn off all optimization when building with debugging symbols.  Apparently,
 just -O is not enough to prevent gcc from optimizing away loop variables.



Property changes on: branches/1.0
___________________________________________________________________
Name: svk:merge
   - d4fa192b-c00b-0410-8231-f00ffab90ce4:/trunk/varnish-cache:1131
   + d4fa192b-c00b-0410-8231-f00ffab90ce4:/trunk/varnish-cache:1132

Modified: branches/1.0/configure.ac
===================================================================
--- branches/1.0/configure.ac	2006-10-18 14:26:56 UTC (rev 1170)
+++ branches/1.0/configure.ac	2006-10-18 14:26:57 UTC (rev 1171)
@@ -21,7 +21,7 @@
 	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")




More information about the varnish-commit mailing list