From b79b5b4b441e2a832367f0c5ceb2ebf727dc79e5 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Mon, 4 Mar 2024 12:49:49 +0100 Subject: [PATCH] configure.ac: CUDA_FLAGS - removed bashism When /bin/sh (default configure interpret) is not bash, the flags are not passed to Makefile. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 593fa02a0..23a8eacea 100644 --- a/configure.ac +++ b/configure.ac @@ -2236,7 +2236,7 @@ if test "x${with_cuda_host_compiler}" != "x" ; then AC_PATH_PROG([cuda_host_cc], [${with_cuda_host_compiler}],[no]) # note AC_CHECK_PROG always fails on path with spaces in MSW if test "x${cuda_host_cc}" != "xno" -o $system = Windows; then - CUDA_FLAGS+=" -ccbin \"${cuda_host_cc}\"" + CUDA_FLAGS="$CUDA_FLAGS -ccbin \"${cuda_host_cc}\"" else AC_MSG_FAILURE([Binary ${with_cuda_host_compiler} given as cuda host compiler, yet not found!]) fi