1
0
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:
Con Kolivas 2011-09-23 10:04:09 +10:00
parent c04abf5cbe
commit da764e5441

View File

@ -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, ,