[Pkg-voip-commits] [asterisk] 01/01: build with BETTER_BACKTRACES
Paul Belanger
paul.belanger at polybeacon.com
Wed Nov 27 23:40:09 UTC 2013
On 13-11-27 07:36 AM, Jeremy Lainé wrote:
> This is an automated email from the git hooks/post-receive script.
>
> sharky pushed a commit to branch master
> in repository asterisk.
>
> commit c7258d0c0c0e902eff16eab414ec9e3e6ab8707c
> Author: Jeremy Lainé <jeremy.laine at m4x.org>
> Date: Wed Nov 27 13:35:54 2013 +0100
>
> build with BETTER_BACKTRACES
> ---
> debian/changelog | 1 +
> debian/control | 3 ++-
> debian/rules | 1 +
> 3 files changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/debian/changelog b/debian/changelog
> index dae70d2..23e32e7 100644
> --- a/debian/changelog
> +++ b/debian/changelog
> @@ -4,6 +4,7 @@ asterisk (1:11.6.0~dfsg-1) UNRELEASED; urgency=low
> - Drop bzero patch, fixed upstream.
> - Updated pjproject patch.
> * Move VoiceTronix support to asterisk-vpb (Closes: #492329).
> + * Enable BETTER_BACKTRACES and add Build-Depends on binutils-dev.
>
> -- Jeremy Lainé <jeremy.laine at m4x.org> Wed, 20 Nov 2013 13:57:43 +0100
>
> diff --git a/debian/control b/debian/control
> index 8551ecf..f95628f 100644
> --- a/debian/control
> +++ b/debian/control
> @@ -51,7 +51,8 @@ Build-Depends: debhelper (>= 8),
> libneon27-gnutls-dev | libneon27-dev,
> libical-dev,
> libsrtp0-dev,
> - zlib1g-dev
> + zlib1g-dev,
> + binutils-dev
> Standards-Version: 3.9.4
> Homepage: http://www.asterisk.org/
> Vcs-Git: git://anonscm.debian.org/pkg-voip/asterisk.git
> diff --git a/debian/rules b/debian/rules
> index 7484334..535a734 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -96,6 +96,7 @@ override_dh_auto_configure:
>
> override_dh_auto_build:
> $(MAKE) menuselect.makeopts
> + menuselect/menuselect --enable BETTER_BACKTRACES menuselect.makeopts
> @if [ "x${ENABLE_DEBUG}" != "x" ] ; then \
> menuselect/menuselect --enable DONT_OPTIMIZE menuselect.makeopts ; \
> menuselect/menuselect --enable DEBUG_THREADS menuselect.makeopts ; \
>
I think you want this to be enabled only when we pass the ENABLE_DEBUG
flag. It doesn't make sense to me to run BETTER_BACKTRACES in production.
--
Paul Belanger | PolyBeacon, Inc.
Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode)
Github: https://github.com/pabelanger | Twitter:
https://twitter.com/pabelanger
More information about the Pkg-voip-maintainers
mailing list