From ed58dcb635b7d3b0f89b3f3191aa903fa18d0d76 Mon Sep 17 00:00:00 2001 From: Michael Rash Date: Mon, 26 May 2014 21:28:19 -0400 Subject: [PATCH] Revert "add gcc '-pg' flag in --enable-profile-coverage mode" This reverts commit bbe5626566d617317f2d25f5650f2299c95f2c9f because -pg is needed for gprof, not gcov, and valgrind is incompatible with -pg. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 0ca0f41d..eb75f3a3 100644 --- a/configure.ac +++ b/configure.ac @@ -130,9 +130,9 @@ AC_ARG_ENABLE([profile-coverage], []) if test "x$want_profile_coverage" = "xyes"; then - FKO_CHECK_COMPILER_ARG([-g -pg]) FKO_CHECK_COMPILER_ARG([-fprofile-arcs -ftest-coverage -fno-inline]) - FKO_CHECK_COMPILER_ARG_LDFLAGS_ONLY([-lgcov -pg]) + FKO_CHECK_COMPILER_ARG([-g]) + FKO_CHECK_COMPILER_ARG_LDFLAGS_ONLY([-lgcov]) fi dnl Decide whether or not to build binaries with fault injection support