Skip to content
Snippets Groups Projects
Commit 9da75337 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

launchpad: build pjsip in release mode

See "Release mode" from
https://trac.pjsip.org/repos/wiki/FAQ#Performance

Refs #44894
parent dcbb56ce
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,7 @@ configure-stamp: ...@@ -38,7 +38,7 @@ configure-stamp:
# Add here commands to configure the package. # Add here commands to configure the package.
./autogen.sh ./autogen.sh
./configure --prefix=/usr --enable-video ./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 touch configure-stamp
#Architecture #Architecture
......
...@@ -38,7 +38,7 @@ configure-stamp: ...@@ -38,7 +38,7 @@ configure-stamp:
# Add here commands to configure the package. # Add here commands to configure the package.
./autogen.sh ./autogen.sh
./configure --prefix=/usr ./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 touch configure-stamp
#Architecture #Architecture
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment