Skip to content

Commit a505844

Browse files
committed
configure.ac: replace += (bashism)
1 parent 07412cb commit a505844

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ case "$CUDA_COMPILER" in
166166
;;
167167
*clang*)
168168
CUDA_COMPUTE_ARGS="--cuda-gpu-arch=sm_30 --cuda-gpu-arch=sm_35"
169-
CUDA_FLAGS+=" --cuda-path=$CUDA_INSTALL_PATH"
169+
CUDA_FLAGS="$CUDA_FLAGS --cuda-path=$CUDA_INSTALL_PATH"
170170
;;
171171
*)
172172
AC_MSG_ERROR([Unsupported cuda compiler $CUDA_COMPILER])
@@ -186,7 +186,7 @@ AC_ARG_WITH(cuda-host-compiler,
186186
if test "x${with_cuda_host_compiler}" != "x" ; then
187187
AC_CHECK_PROG([cuda_host_cc], [${with_cuda_host_compiler}],[yes])
188188
if test "x${cuda_host_cc}" = "xyes" -o -x "${with_cuda_host_compiler}"; then
189-
CUDA_FLAGS+=" -ccbin ${with_cuda_host_compiler}"
189+
CUDA_FLAGS="$CUDA_FLAGS -ccbin ${with_cuda_host_compiler}"
190190
else
191191
AC_MSG_FAILURE([Binary ${with_cuda_host_compiler} given as cuda host compiler, yet not found!])
192192
fi

0 commit comments

Comments
 (0)