mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Reset opencl flags if not detected to prevent build failure without opencl.
This commit is contained in:
parent
c04abf5cbe
commit
da764e5441
@ -126,6 +126,9 @@ if test "x$opencl" != xno; then
|
|||||||
found_opencl=0])
|
found_opencl=0])
|
||||||
LIBS=$SAVED_LIBS
|
LIBS=$SAVED_LIBS
|
||||||
CFLAGS=$SAVED_CFLAGS
|
CFLAGS=$SAVED_CFLAGS
|
||||||
|
else
|
||||||
|
OPENCL_FLAGS=""
|
||||||
|
OPENCL_LIBS=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_CHECK_LIB(pthread, pthread_create, ,
|
AC_CHECK_LIB(pthread, pthread_create, ,
|
||||||
|
Loading…
Reference in New Issue
Block a user