diff --git a/Makefile.in b/Makefile.in index 06c4b1823..59c71a945 100644 --- a/Makefile.in +++ b/Makefile.in @@ -194,7 +194,7 @@ ifneq ("$(GENHTML)", "") lcov: $(RM) -rf $(LCOV_REPORTS_DIR) $(MKDIR_P) $(LCOV_REPORTS_DIR) - $(LCOV) --capture --directory $(top_builddir) --ignore-errors source \ + -$(LCOV) --capture --directory $(top_builddir) --ignore-errors source,negative,gcov \ --output-file $(LCOV_REPORTS_DIR)/out.info -test ! -s $(LCOV_REPORTS_DIR)/out.info || \ $(GENHTML) -o $(LCOV_REPORTS_DIR) --ignore-errors source \