From 5ecd2b05bfcb6ffb7216f9ae0505aa451306e598 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Thu, 2 Oct 2014 15:04:07 +0200 Subject: Prettify nvcc arch output slightly --- build/linux/acinclude.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build/linux') 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 -- cgit v1.2.3