This commit is contained in:
Vitor Santos Costa 2013-10-09 14:41:03 +01:00
parent 9531d2a359
commit 23aaa8c792
1 changed files with 6 additions and 1 deletions

7
configure vendored
View File

@ -6976,7 +6976,12 @@ fi
CUDA_CPPFLAGS="-shared -arch=sm_20 -Xcompiler -fPIC -O3 "
CUDA_SHLIB_LD="$NVCC -Xcompiler -dynamiclib"
;;
esac
**)
CUDA_LDFLAGS="$LDFLAGS"
CUDA_CPPFLAGS="-shared -arch=sm_20 -Xcompiler -fPIC -O3 "
CUDA_SHLIB_LD="$NVCC -Xcompiler -rdynamic"
;;
esac
fi
fi