From 7ebd169a62b8d3b21dc40a17ee72a4edd3407f29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Wed, 30 Oct 2013 07:23:56 +0000 Subject: [PATCH] support for nvcc -m32 --- configure | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 5bdf00987..5d65b129f 100755 --- a/configure +++ b/configure @@ -6860,7 +6860,11 @@ fi ENABLE_CUDA="@# " else ENABLE_CUDA="" - case "$target_os" in + if test "$YAP_TARGET" = "i386" + then + NVCC="$NVCC -m32" + fi + case "$target_os" in *darwin*) CUDA_LDFLAGS="$LDFLAGS" CUDA_CPPFLAGS="-shared -arch=sm_20 -Xcompiler -fPIC -O3 "