From a11340a971af24d9dcab720f92483b0dafa01142 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 22 May 2004 01:29:42 +0000 Subject: [PATCH] r813: gcc has fixed its huge debug sizes with -g now, so drop the -gstabs, allowing us to use a more standard debug format. If you want it even smaller than I recommend the -feliminate-dwarf2-dups option, if your version of gcc supports it. --- source/configure.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/configure.in b/source/configure.in index 43a8242788e..15019b8e006 100644 --- a/source/configure.in +++ b/source/configure.in @@ -151,20 +151,20 @@ AC_ARG_ENABLE(debug, [ --enable-debug Turn on compiler debugging information (default=no)], [if eval "test x$enable_debug = xyes"; then debug=yes - CFLAGS="${CFLAGS} -gstabs" + CFLAGS="${CFLAGS} -g" fi]) developer=no AC_ARG_ENABLE(developer, [ --enable-developer Turn on developer warnings and debugging (default=no)], [if eval "test x$enable_developer = xyes"; then developer=yes - CFLAGS="${CFLAGS} -gstabs -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER" + CFLAGS="${CFLAGS} -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER" fi]) AC_ARG_ENABLE(krb5developer, [ --enable-krb5developer Turn on developer warnings and debugging, except -Wstrict-prototypes (default=no)], [if eval "test x$enable_krb5developer = xyes"; then developer=yes - CFLAGS="${CFLAGS} -gstabs -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER" + CFLAGS="${CFLAGS} -g -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER" fi]) experimental=no -- 2.34.1