support for nvcc -m32

This commit is contained in:
Vítor Santos Costa 2013-10-30 07:23:56 +00:00
parent 007a2aa87e
commit 7ebd169a62

4
configure vendored
View File

@ -6860,6 +6860,10 @@ fi
ENABLE_CUDA="@# " ENABLE_CUDA="@# "
else else
ENABLE_CUDA="" ENABLE_CUDA=""
if test "$YAP_TARGET" = "i386"
then
NVCC="$NVCC -m32"
fi
case "$target_os" in case "$target_os" in
*darwin*) *darwin*)
CUDA_LDFLAGS="$LDFLAGS" CUDA_LDFLAGS="$LDFLAGS"