From 39696f7804dcfa6a06710bbd8a25b9bfaf5113f9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 22 May 2004 01:29:42 +0000 Subject: 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. (This used to be commit a11340a971af24d9dcab720f92483b0dafa01142) --- source4/configure.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/configure.in') diff --git a/source4/configure.in b/source4/configure.in index 43a8242788..15019b8e00 100644 --- a/source4/configure.in +++ b/source4/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 -- cgit