Add dwarf2 to our debugging flags (--enable-debug) so we can
  inspect macros from gdb.

  This may be incompatible with other/older compilers, so a smarter
  way to enable this would be appreciated.

Signed-off-by: Klaus Heinrich Kiwi <[email protected]>
---
 configure.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.in b/configure.in
index ee87afe..3d7dd45 100644
--- a/configure.in
+++ b/configure.in
@@ -201,7 +201,7 @@ dnl ---
 dnl --- enable_debug
 AM_CONDITIONAL([ENABLE_DEBUG], [test "x$enable_debug" = "xyes"])
 if test "x$enable_debug" = "xyes"; then
-       CFLAGS="$cmdline_CFLAGS -g3 -O0 -DDEBUG"
+       CFLAGS="$cmdline_CFLAGS -gdwarf-2 -g3 -O0 -DDEBUG"
 fi
 
 dnl --- first, check what external software is present or specified
-- 
1.7.2.3


------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Opencryptoki-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech

Reply via email to