changeset 2176:0898283fc09a draft

-g is more portable than -ggdb
author Roy Marples <roy@marples.name>
date Fri, 29 Nov 2013 18:38:25 +0000
parents a04514e74245
children e2e3d1064075
files configure
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Fri Nov 29 18:23:39 2013 +0000
+++ b/configure	Fri Nov 29 18:38:25 2013 +0000
@@ -295,11 +295,11 @@
 if [ -n "$DEBUG" -a "$DEBUG" != no -a "$DEBUG" != false ]; then
 	echo "Enabling memory debugging"
 	echo "CPPFLAGS+=	-DDEBUG_MEMORY" >>$CONFIG_MK
-	echo "CFLAGS+=	-ggdb" >>$CONFIG_MK
+	echo "CFLAGS+=	-g" >>$CONFIG_MK
 elif [ -z "$DEBUG" -a -d .git ]; then
 	printf "Found git ... "
 	DEBUG=yes
-	echo "CFLAGS+=	-ggdb" >>$CONFIG_MK
+	echo "CFLAGS+=	-g" >>$CONFIG_MK
 else
 	DEBUG=no
 fi