force debug cflags into sofia lib (SFSIP-42)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7196 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-01-12 22:17:41 +00:00
parent cc133b0d7b
commit 37845b424d
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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