Browse Source

configure.ac: add --coverage to CFLAGS instead of CPPFLAGS

Nathalie Furmento 12 years ago
parent
commit
8cc33523e2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -875,7 +875,7 @@ AC_MSG_RESULT($enable_coverage)
 AC_SUBST(COVERAGE, $enable_coverage)
 AM_CONDITIONAL(STARPU_COVERAGE_ENABLED, [test "x$enable_coverage" = "xyes"])
 if test x$enable_coverage = xyes; then
-	CPPFLAGS="${CPPFLAGS} --coverage"
+	CFLAGS="${CFLAGS} --coverage"
 	LDFLAGS="${LDFLAGS} --coverage"
 fi