From 9da75337ac061359877fc81987cb353c1e4a5db5 Mon Sep 17 00:00:00 2001 From: Tristan Matthews <tristan.matthews@savoirfairelinux.com> Date: Wed, 16 Apr 2014 15:31:08 -0400 Subject: [PATCH] launchpad: build pjsip in release mode See "Release mode" from https://trac.pjsip.org/repos/wiki/FAQ#Performance Refs #44894 --- tools/build-system/launchpad/sflphone-common-video/debian/rules | 2 +- tools/build-system/launchpad/sflphone-common/debian/rules | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/build-system/launchpad/sflphone-common-video/debian/rules b/tools/build-system/launchpad/sflphone-common-video/debian/rules index 746a26c75f..53e3a7cb43 100755 --- a/tools/build-system/launchpad/sflphone-common-video/debian/rules +++ b/tools/build-system/launchpad/sflphone-common-video/debian/rules @@ -38,7 +38,7 @@ configure-stamp: # Add here commands to configure the package. ./autogen.sh ./configure --prefix=/usr --enable-video - cd libs/pjproject-2.2.1; CFLAGS=-fPIC ./configure $(PJ_CONFIG_OPTIONS) + cd libs/pjproject-2.2.1; CFLAGS=-fPIC -O2 -DNDEBUG ./configure $(PJ_CONFIG_OPTIONS) touch configure-stamp #Architecture diff --git a/tools/build-system/launchpad/sflphone-common/debian/rules b/tools/build-system/launchpad/sflphone-common/debian/rules index d6e51e07dd..98c0ba8b59 100755 --- a/tools/build-system/launchpad/sflphone-common/debian/rules +++ b/tools/build-system/launchpad/sflphone-common/debian/rules @@ -38,7 +38,7 @@ configure-stamp: # Add here commands to configure the package. ./autogen.sh ./configure --prefix=/usr - cd libs/pjproject-2.2.1; CFLAGS=-fPIC ./configure $(PJ_CONFIG_OPTIONS) + cd libs/pjproject-2.2.1; CFLAGS=-fPIC -DNDEBUG -O2 ./configure $(PJ_CONFIG_OPTIONS) touch configure-stamp #Architecture -- GitLab