disable compile time optimization when gcov is enabled

This commit is contained in:
Eric Lambert
2014-08-18 13:35:46 -07:00
parent 3338e25b9f
commit 24b8eef4b0

View File

@@ -61,6 +61,8 @@ if test x$gcov = xtrue ; then
[
GCOV_FLAGS="-fprofile-arcs -ftest-coverage"
GCOV_LDFLAGS="-lgcov"
CXXFLAGS=""
CFLAGS=""
], [
AC_MSG_ERROR([failed to locate gcov library])
])