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.
This commit is contained in:
Michael Rash 2014-05-26 21:28:19 -04:00
parent ddaf0134d6
commit ed58dcb635

View File

@ -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