1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

Convert opencl to need to be explicitly enabled during build with --enable-opencl

This commit is contained in:
Con Kolivas 2013-10-23 21:19:03 +11:00
parent d2719e312f
commit 05478b5937

View File

@ -135,10 +135,10 @@ if test -n "$CGMINER_SDK"; then
LDFLAGS="-L$CGMINER_SDK/lib/$target $LDFLAGS"
fi
opencl="yes"
opencl="no"
AC_ARG_ENABLE([opencl],
[AC_HELP_STRING([--disable-opencl],[Override detection and disable building with opencl])],
[AC_HELP_STRING([--enable-opencl],[Enable support for GPU mining with opencl])],
[opencl=$enableval]
)
if test "x$opencl" != xno; then