Revert "add gcc '-pg' flag in --enable-profile-coverage mode"
This reverts commit bbe5626566 because -pg
is needed for gprof, not gcov, and valgrind is incompatible with -pg.
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user