diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2014-10-02 15:04:07 +0200 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2015-01-19 11:15:30 +0100 |
commit | 1341bd26aa9007c3fe91044425ae3a96e8b4854b (patch) | |
tree | dfb0328fdbc8ed9a976204f8950d2e2a49634e01 /build/linux/acinclude.m4 | |
parent | be0ba0549d417c8e5821a3d08faa149ddbabf446 (diff) | |
download | astra-1341bd26aa9007c3fe91044425ae3a96e8b4854b.tar.gz astra-1341bd26aa9007c3fe91044425ae3a96e8b4854b.tar.bz2 astra-1341bd26aa9007c3fe91044425ae3a96e8b4854b.tar.xz astra-1341bd26aa9007c3fe91044425ae3a96e8b4854b.zip |
Prettify nvcc arch output slightly
Diffstat (limited to 'build/linux/acinclude.m4')
-rw-r--r-- | build/linux/acinclude.m4 | 2 |
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 |