[PATCH] buildsys: add compiler flags enabling debugging symbols
David Sterba
dsterba at suse.cz
Tue May 15 17:06:51 UTC 2012
Automatically enabled when configured with --enable-debug
Signed-off-by: David Sterba <dsterba at suse.cz>
---
configure.ac | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index b6464da..167034a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -773,6 +773,7 @@ dnl -- end socket --
AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [Enable debugging support]),
[ if test x$enableval = xyes ; then
AC_DEFINE(DEBUG,1,[ Define to enable debugging info. ])
+ CFLAGS="$CFLAGS -g"
fi
])
--
1.7.6.233.gd79bc
More information about the mutt-kz
mailing list