This commit is contained in:
Vitor Santos Costa 2013-10-09 14:39:49 +01:00
parent f6bc5ab918
commit b43cb37c9a

View File

@ -917,7 +917,12 @@ else
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