From 37845b424d3d5c58532fe84b2a1b87b9c3ecfeb5 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Sat, 12 Jan 2008 22:17:41 +0000 Subject: [PATCH] force debug cflags into sofia lib (SFSIP-42) git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7196 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- configure.in | 1 + libs/sofia-sip/configure.gnu | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 5b1f780260..bd9eec7425 100644 --- a/configure.in +++ b/configure.in @@ -149,6 +149,7 @@ if test "${enable_debug}" = "yes"; then if test "x${ax_cv_c_compiler_vendor}" = "xgnu" ; then APR_ADDTO(SWITCH_AM_CFLAGS, -g -ggdb) + export DEBUG_CFLAGS="-g -ggdb" fi fi diff --git a/libs/sofia-sip/configure.gnu b/libs/sofia-sip/configure.gnu index 12fe773bd0..7bd9c100c5 100644 --- a/libs/sofia-sip/configure.gnu +++ b/libs/sofia-sip/configure.gnu @@ -1,3 +1,3 @@ #! /bin/sh -CFLAGS="$CFLAGS -DSU_DEBUG=0" ./configure "$@" --with-pic --with-glib=no --disable-shared +CFLAGS="$CFLAGS -DSU_DEBUG=0 $DEBUG_CFLAGS" ./configure "$@" --with-pic --with-glib=no --disable-shared