This commit is contained in:
Vitor Santos Costa 2013-10-09 14:47:52 +01:00
parent a165d3e4c2
commit 3648e98a17
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

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

View File

@ -918,7 +918,7 @@ else
CUDA_SHLIB_LD="$NVCC -Xcompiler -dynamiclib"
;;
**)
CUDA_LDFLAGS="$LDFLAGS"
CUDA_LDFLAGS="$LDFLAGS $LIBS"
CUDA_CPPFLAGS="-shared -arch=sm_20 -Xcompiler -fPIC -O3 "
CUDA_SHLIB_LD="$NVCC -Xcompiler -rdynamic"
;;