--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
 # StarPU --- Runtime system for heterogeneous multicore architectures.
 #
-# Copyright (C) 2009-2016  Université de Bordeaux
+# Copyright (C) 2009-2017  Université de Bordeaux
 # Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015, 2016  CNRS
 # Copyright (C) 2011  Télécom-SudParis
 # Copyright (C) 2011, 2012, 2014  INRIA
@@ -594,10 +594,6 @@ 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 >/dev/null 2>&1
-	if test $? -eq 0 -a x$starpu_windows != xyes; then
-	    NVCCFLAGS="${NVCCFLAGS} -ccbin \${CC}"
-	fi
 	if test "$__cuda_include_dir" != "no"; then
 	    STARPU_CUDA_CPPFLAGS="-I$__cuda_include_dir"
 	    NVCCFLAGS="${NVCCFLAGS} -I$__cuda_include_dir"
