* #20736: daemon: cleanup coverage flags

This commit is contained in:
Tristan Matthews
2013-03-06 18:37:32 -05:00
parent 077a3aa872
commit 6237247d27
2 changed files with 3 additions and 2 deletions

View File

@ -35,6 +35,7 @@ coverage:
coverage-clean:
$(AM_V_at)lcov --directory $(top_builddir) --zerocounters
$(AM_V_at)rm -rf sflphone-coverage.info
$(AM_V_at)rm -rf html-output
$(AM_V_at)find -name '*.gcda' -exec rm -f {} +
$(AM_V_at)find -name '*.gcno' -exec rm -f {} +

View File

@ -98,8 +98,8 @@ dnl Coverage is default-disabled
AC_ARG_ENABLE([coverage], AS_HELP_STRING([--enable-coverage], [Enable coverage]))
AS_IF([test "x$enable_coverage" = "xyes"], [
CXXFLAGS="${CXXFLAGS} -fprofile-arcs -ftest-coverage"
LDFLAGS="${LDFLAGS} -fprofile-arcs -ftest-coverage"])
CXXFLAGS="${CXXFLAGS} --coverage"
LDFLAGS="${LDFLAGS} --coverage"])
dnl Video is default-disabled
AC_ARG_ENABLE([video], AS_HELP_STRING([--enable-video], [Enable video]))