From: Tobias Brunner Date: Fri, 10 Jan 2025 15:03:53 +0000 (+0100) Subject: coverage: Use atomic profiling updates to avoid issues with multi-threaded test cases X-Git-Tag: android-2.5.3~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=71f4c3dc4ecee41fcce9f68c358299a2f7e0a87a;p=thirdparty%2Fstrongswan.git coverage: Use atomic profiling updates to avoid issues with multi-threaded test cases --- diff --git a/configure.ac b/configure.ac index 113172a8a0..37c47bccb2 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)