]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
-g is more portable than -ggdb
authorRoy Marples <roy@marples.name>
Fri, 29 Nov 2013 18:38:25 +0000 (18:38 +0000)
committerRoy Marples <roy@marples.name>
Fri, 29 Nov 2013 18:38:25 +0000 (18:38 +0000)
configure

index 272d974c158d69406ce97f3dad675a717670e2f5..cb484931cdc3f064f1ecdc371aa9fd14e10211dc 100755 (executable)
--- a/configure
+++ b/configure
@@ -295,11 +295,11 @@ done
 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