[Xfce4-commits] <xfce4-dev-tools:master> Don't use -g3 for full debuggin.

Nick Schermer noreply at xfce.org
Tue Mar 22 20:48:01 CET 2011


Updating branch refs/heads/master
         to ab2cf62f191b13884b4c7c7e71f10d0f21f3f9b5 (commit)
       from 1d71f62e24c95963f84b4d243fa8c07accd87af5 (commit)

commit ab2cf62f191b13884b4c7c7e71f10d0f21f3f9b5
Author: Nick Schermer <nick at xfce.org>
Date:   Tue Mar 22 20:46:16 2011 +0100

    Don't use -g3 for full debuggin.
    
    This breaks the sun studio compiler and since -g defaults
    to level 2, it provides enough backtrace information.

 m4macros/xdt-features.m4 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/m4macros/xdt-features.m4 b/m4macros/xdt-features.m4
index b09a504..51945fc 100644
--- a/m4macros/xdt-features.m4
+++ b/m4macros/xdt-features.m4
@@ -87,7 +87,7 @@ AC_HELP_STRING([--disable-debug], [Include no debugging support]),
 
     if test x"$enable_debug" = x"full"; then
       AC_DEFINE([DEBUG_TRACE], [1], [Define for tracing support])
-      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g3 -Werror"
+      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g -Werror"
       CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG"
       AC_MSG_RESULT([full])
     else



More information about the Xfce4-commits mailing list