summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/linux/acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/build/linux/acinclude.m4 b/build/linux/acinclude.m4
index b6c1b2d..313e849 100644
--- a/build/linux/acinclude.m4
+++ b/build/linux/acinclude.m4
@@ -93,7 +93,7 @@ for arch in $1; do
$NVCC -c -o conftest.o conftest.cu $$2 $NVCC_opt >conftest.nvcc.out 2>&1 && {
NVCC_lastarch=$arch
NVCC_extra="$NVCC_extra $NVCC_opt"
- NVCC_list="$NVCC_list $arch"
+ NVCC_list="${NVCC_list:+$NVCC_list, }$arch"
}
done
if test $NVCC_lastarch != none; then