瀏覽代碼

Fix the call to $CC -dumpspecs in configure.ac.

Cyril Roelandt 12 年之前
父節點
當前提交
1669231aae
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -384,7 +384,7 @@ AC_DEFUN([STARPU_CHECK_CUDA],
 	# option, which is GCC specific. If $CC does not support -dumpspecs, we
 	# should let nvcc choose another compiler (by default, gcc, if it is
 	# installed). If gcc is not installed, the build will probably fail.
-	$(CC) -dumpspecs
+	$CC -dumpspecs >/dev/null 2>&1
 	if test $? -eq 0 -a test x$starpu_windows != xyes; then
 	    NVCCFLAGS="${NVCCFLAGS} -ccbin \${CC}"
 	fi