mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 20:44:19 +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])
|
||||
LIBS=$SAVED_LIBS
|
||||
CFLAGS=$SAVED_CFLAGS
|
||||
else
|
||||
OPENCL_FLAGS=""
|
||||
OPENCL_LIBS=""
|
||||
fi
|
||||
|
||||
AC_CHECK_LIB(pthread, pthread_create, ,
|
||||
|
Loading…
x
Reference in New Issue
Block a user