mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-14 00:38:02 +00:00
Fix build error without scrypt enabled.
This commit is contained in:
parent
b40c8b848f
commit
97aa6ea492
2
ocl.c
2
ocl.c
@ -536,8 +536,10 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize)
|
||||
if (clState->goffset)
|
||||
strcat(binaryfilename, "g");
|
||||
if (opt_scrypt) {
|
||||
#ifdef USE_SCRYPT
|
||||
sprintf(numbuf, "lg%dtc%d", cgpu->lookup_gap, cgpu->thread_concurrency);
|
||||
strcat(binaryfilename, numbuf);
|
||||
#endif
|
||||
} else {
|
||||
sprintf(numbuf, "v%d", clState->vwidth);
|
||||
strcat(binaryfilename, numbuf);
|
||||
|
Loading…
Reference in New Issue
Block a user