Hi,
Forget to mention, this patch series (2 patches) is against phonesim.
>-----Original Message-----
>From: Gu, Yang
>Sent: Thursday, July 08, 2010 6:57 PM
>To: [email protected]
>Cc: Gu, Yang
>Subject: [PATCH 1/2] Support option --disable-optimization
>
>---
> configure.ac | 7 +++++++
> 1 files changed, 7 insertions(+), 0 deletions(-)
>
>diff --git a/configure.ac b/configure.ac
>index 887c91a..a85fda3 100644
>--- a/configure.ac
>+++ b/configure.ac
>@@ -14,6 +14,13 @@ PKG_PROG_PKG_CONFIG
> AC_PROG_CXX
> AC_PROG_INSTALL
>
>+AC_ARG_ENABLE(optimization, AC_HELP_STRING([--disable-optimization],
>+ [disable code optimization through compiler]), [
>+ if (test "${enableval}" = "no"); then
>+ CXXFLAGS="$CXXFLAGS -O0"
>+ fi
>+])
>+
> PKG_CHECK_MODULES(QT, QtCore QtGui QtXml QtNetwork, dummy=yes,
> AC_MSG_ERROR(Qt is required))
> AC_SUBST(QT_CFLAGS)
>--
>1.7.0.4
Regards,
-Yang
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono