From ca3650baf9b4eaf557f55fcacf2440f64c2b7660 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 15 Jan 2024 10:11:30 -0700 Subject: [PATCH] Add debug symbols --- debian/resources/switch/source-release.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/resources/switch/source-release.sh b/debian/resources/switch/source-release.sh index 6bf760d..b13c44d 100755 --- a/debian/resources/switch/source-release.sh +++ b/debian/resources/switch/source-release.sh @@ -59,7 +59,7 @@ if [ $(echo "$switch_version" | tr -d '.') -gt 1100 ]; then unzip v$sofia_version.zip cd sofia-sip-$sofia_version sh autogen.sh - ./configure + ./configure --enable-debug make -j $(getconf _NPROCESSORS_ONLN) make install @@ -70,7 +70,7 @@ if [ $(echo "$switch_version" | tr -d '.') -gt 1100 ]; then git reset --hard 0d2e6ac65e0e8f53d652665a743015a88bf048d4 #/usr/bin/sed -i 's/AC_PREREQ(\[2\.71\])/AC_PREREQ([2.69])/g' /usr/src/spandsp/configure.ac sh autogen.sh - ./configure + ./configure --enable-debug make -j $(getconf _NPROCESSORS_ONLN) make install ldconfig @@ -130,7 +130,7 @@ sed -i /usr/src/freeswitch-$switch_version/modules.conf -e s:'endpoints/mod_vert # prepare the build #./configure --prefix=/usr/local/freeswitch --enable-core-pgsql-support --disable-fhs -./configure -C --enable-portable-binary --disable-dependency-tracking \ +./configure -C --enable-portable-binary --disable-dependency-tracking --enable-debug \ --prefix=/usr --localstatedir=/var --sysconfdir=/etc \ --with-openssl --enable-core-pgsql-support