summaryrefslogtreecommitdiff
path: root/configure-bb10
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2013-04-24 00:04:53 +0000
committerBenny Prijono <bennylp@teluu.com>2013-04-24 00:04:53 +0000
commitbae991bba7cf826fd1e3e596c7e03a3e383ef9ea (patch)
tree69268d8c3617bb6c5884cb8af113d11b6c1abf71 /configure-bb10
parentb3e36a4e5ea54f78016b9da64d1ab38535231630 (diff)
Re #1657: changed default CFLAGS in configure-bb10 to use -O2 to avoid surprise with performance
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4494 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'configure-bb10')
-rwxr-xr-xconfigure-bb104
1 files changed, 2 insertions, 2 deletions
diff --git a/configure-bb10 b/configure-bb10
index 9bd50e8a..6a2fb2cb 100755
--- a/configure-bb10
+++ b/configure-bb10
@@ -10,7 +10,7 @@ if test "$*" = "--help" -o "$*" = "-h"; then
echo " --simulator Optional parameter to specify that the compilation"
echo " target is a simulator."
echo " OPTIONS Other options that will be passed directly to"
- echo " ./aconfigure script. Run ./aconfigure --help"
+ echo " ./configure script. Run ./configure --help"
echo " for more info."
exit 0
fi
@@ -33,7 +33,7 @@ CPP="${QNX_HOST}/usr/bin/qcc -V4.6.3,gcc_nto${TARGET_ARCHEND}_cpp -E "
CC="${QNX_HOST}/usr/bin/qcc -V4.6.3,gcc_nto${TARGET_ARCHEND}_cpp "
LD="${QNX_HOST}/usr/bin/nto${TARGET_ARCH}-ld "
export LDFLAGS=" -L${QNX_TARGET}/${LIBDIR}/usr/lib -L${QNX_TARGET}/${LIBDIR}/lib -L${QNX_HOST}/usr/lib/gcc/${TARGET_HOST}/4.6.3 -lgcc -lasound -laudio_manager"
-export CFLAGS=" -g -fPIC -DPJ_CONFIG_BB10=1 -DPJMEDIA_AUDIO_DEV_HAS_BB10=1"
+export CFLAGS=" -g -O2 -fPIC -DPJ_CONFIG_BB10=1 -DPJMEDIA_AUDIO_DEV_HAS_BB10=1"
# Invoke configure
./configure --host=${TARGET_HOST} --disable-oss $*