diff --git a/configure.ac b/configure.ac index 113172a8a..37c47bccb 100644 --- a/configure.ac +++ b/configure.ac @@ -1361,7 +1361,7 @@ if test x$coverage = xtrue; then AC_MSG_ERROR([genhtml not found]) fi - COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage" + COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage -fprofile-update=atomic" COVERAGE_LDFLAGS="-fprofile-arcs" AC_SUBST(COVERAGE_CFLAGS) AC_SUBST(COVERAGE_LDFLAGS)