diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-02-28 15:25:58 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-02-28 15:25:58 +0000 |
commit | ce6f3bcb286dde444e1457ea9ea46aeaea04f65d (patch) | |
tree | b0abdf9b9c8de76159a1267b53a678b77a32923b /configure.ac | |
parent | ca02240a30bf02d0a2097cf34256f416b48334cc (diff) | |
download | anubis-ce6f3bcb286dde444e1457ea9ea46aeaea04f65d.tar.gz anubis-ce6f3bcb286dde444e1457ea9ea46aeaea04f65d.tar.bz2 |
Use -ggdb instead of -g if gcc is being used.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 9904175..0fe6767 100644 --- a/configure.ac +++ b/configure.ac @@ -278,9 +278,9 @@ AC_ARG_ENABLE(gcc-debug, [enable_gcc_debug=no]) if test "$enable_gcc_debug" = "yes" && (test "$GCC" = "yes"); then if test -z "$CFLAGS_CUSTOM"; then - CFLAGS="-Wall -g" + CFLAGS="-Wall -ggdb" else - CFLAGS="$CFLAGS -g" + CFLAGS="$CFLAGS -ggdb" fi AC_MSG_RESULT([Enabling GCC DEBUG support...]) else |