[cheese] Disable compiler optimisation when lcov is enabled
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese] Disable compiler optimisation when lcov is enabled
- Date: Sun, 25 Dec 2011 11:07:31 +0000 (UTC)
commit d17fd4f98342f9c8aacf7a5cad2334ee22575f01
Author: David King <amigadave amigadave com>
Date: Sun Dec 25 11:28:35 2011 +0100
Disable compiler optimisation when lcov is enabled
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 7558fc3..03b33af 100644
--- a/configure.ac
+++ b/configure.ac
@@ -170,7 +170,7 @@ AS_IF([test "x$enable_lcov" != "xno"],
AS_IF([test "x$have_lcov" = "xyes"],
[AC_SUBST([LCOV])
AC_SUBST([LCOV_GENHTML])
- CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
+ CFLAGS="$CFLAGS -O0 -fprofile-arcs -ftest-coverage"
LDFLAGS="$LDFLAGS -lgcov"],
[AS_IF([test "x$enable_lcov" = "xyes"],
[AC_MSG_ERROR([lcov code coverage reporting requested but not found])])])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]