This commit is contained in:
Vitor Santos Costa 2013-10-09 14:56:23 +01:00
parent 3648e98a17
commit 9229460310
2 changed files with 4 additions and 4 deletions

4
configure vendored
View File

@ -6974,12 +6974,12 @@ fi
*darwin*)
CUDA_LDFLAGS="$LDFLAGS"
CUDA_CPPFLAGS="-shared -arch=sm_20 -Xcompiler -fPIC -O3 "
CUDA_SHLIB_LD="$NVCC -Xcompiler -dynamiclib"
CUDA_SHLIB_LD="$NVCC -Xcompiler -dynamiclib -L../.. -lYAP "
;;
**)
CUDA_LDFLAGS="$LDFLAGS $LIBS"
CUDA_CPPFLAGS="-shared -arch=sm_20 -Xcompiler -fPIC -O3 "
CUDA_SHLIB_LD="$NVCC -Xcompiler -rdynamic"
CUDA_SHLIB_LD="$NVCC -shared -Xcompiler -export-dynamic"
;;
esac
fi

View File

@ -915,12 +915,12 @@ else
*darwin*)
CUDA_LDFLAGS="$LDFLAGS"
CUDA_CPPFLAGS="-shared -arch=sm_20 -Xcompiler -fPIC -O3 "
CUDA_SHLIB_LD="$NVCC -Xcompiler -dynamiclib"
CUDA_SHLIB_LD="$NVCC -Xcompiler -dynamiclib -L../.. -lYAP "
;;
**)
CUDA_LDFLAGS="$LDFLAGS $LIBS"
CUDA_CPPFLAGS="-shared -arch=sm_20 -Xcompiler -fPIC -O3 "
CUDA_SHLIB_LD="$NVCC -Xcompiler -rdynamic"
CUDA_SHLIB_LD="$NVCC -shared -Xcompiler -export-dynamic"
;;
esac
fi