瀏覽代碼

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

Nathalie Furmento 12 年之前
父節點
當前提交
8cc33523e2
共有 1 個文件被更改,包括 1 次插入1 次删除
  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