From bae991bba7cf826fd1e3e596c7e03a3e383ef9ea Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Wed, 24 Apr 2013 00:04:53 +0000 Subject: 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 --- configure-bb10 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure-bb10') 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 $* -- cgit v1.2.3