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:
parent
d2719e312f
commit
05478b5937
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user