]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
force debug cflags into sofia lib (SFSIP-42)
authorMichael Jerris <mike@jerris.com>
Sat, 12 Jan 2008 22:17:41 +0000 (22:17 +0000)
committerMichael Jerris <mike@jerris.com>
Sat, 12 Jan 2008 22:17:41 +0000 (22:17 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7196 d0543943-73ff-0310-b7d9-9358b9ac24b2

configure.in
libs/sofia-sip/configure.gnu

index 5b1f7802609e35dd214175be60c9ca9ec8a3122d..bd9eec74258bf1cf29e5342c944fd5a763feb660 100644 (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
index 12fe773bd008e7ac75e2cbada68fd74cc06dac31..7bd9c100c586e0e75042bf34357758fae7110c76 100644 (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