build: do not use DEBUG when running with coverage

Do not force this on everybody who runs with tests=coverage. It makes stdout
impossible to follow as well as overruns the tests log file. If one wants to
run with -DDEBUG it can be set from your own CFLAGS.
This commit is contained in:
Stefan Schmidt 2016-03-07 14:39:16 +01:00
parent 5181a4d0ef
commit 2ae2790604
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ if test "${want_coverage}" = "yes" ; then
if test "x${prefer_assert}" = "xno"; then
EFLALL_COV_CFLAGS="${EFLALL_COV_CFLAGS} -DNDEBUG"
else
EFLALL_COV_CFLAGS="${EFLALL_COV_CFLAGS} -g -O0 -DDEBUG"
EFLALL_COV_CFLAGS="${EFLALL_COV_CFLAGS} -g -O0"
fi
else
AC_MSG_ERROR([lcov is not found])