r697 - trunk/varnish-cache

des at projects.linpro.no des at projects.linpro.no
Sun Aug 6 15:49:59 CEST 2006


Author: des
Date: 2006-08-06 15:49:58 +0200 (Sun, 06 Aug 2006)
New Revision: 697

Modified:
   trunk/varnish-cache/configure.ac
Log:
Include -pipe in CFLAGS.
Reduce optimization level to -O when debugging.


Modified: trunk/varnish-cache/configure.ac
===================================================================
--- trunk/varnish-cache/configure.ac	2006-08-06 12:51:02 UTC (rev 696)
+++ trunk/varnish-cache/configure.ac	2006-08-06 13:49:58 UTC (rev 697)
@@ -14,14 +14,14 @@
 
 # Compiler flags (assume GCC).
 # This section *must* come before AC_PROG_CC / AC_PROG_CPP.
-CFLAGS="${CFLAGS:--O2}"
+CFLAGS="${CFLAGS:--O2 -pipe}"
 DEVELOPER_CFLAGS="-Wall -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls"
 AC_ARG_ENABLE(developer-warnings,
 	AS_HELP_STRING([--enable-developer-warnings],[enable strict warnings (default is NO)]),
 	CFLAGS="${CFLAGS} ${DEVELOPER_CFLAGS}")
 AC_ARG_ENABLE(debugging-symbols,
 	AS_HELP_STRING([--enable-debugging-symbols],[enable debugging symbols (default is NO)]),
-	CFLAGS="${CFLAGS} -g -fno-inline -fno-builtin")
+	CFLAGS="${CFLAGS} -O -g -fno-inline -fno-builtin")
 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