From b43cb37c9acc5d1d651e1d090e6157905d6aaa9f Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Wed, 9 Oct 2013 14:39:49 +0100 Subject: [PATCH] cuda --- configure.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 1f72f4338..fff31a314 100755 --- a/configure.in +++ b/configure.in @@ -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