mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-23 13:04:29 +00:00
Defines missing would segfault on --help when no sse mining is built in.
This commit is contained in:
parent
fd473afedc
commit
1a789a40c7
4
main.c
4
main.c
@ -154,9 +154,9 @@ int opt_vectors;
|
||||
int opt_worksize;
|
||||
int opt_scantime = 60;
|
||||
static const bool opt_time = true;
|
||||
#if defined(__SSE4_1__)
|
||||
#if defined(WANT_X8664_SSE4) && defined(__SSE4_1__)
|
||||
static enum sha256_algos opt_algo = ALGO_SSE4_64;
|
||||
#elif defined(__SSE2__)
|
||||
#elif defined(WANT_X8664_SSE2) && defined(__SSE2__)
|
||||
static enum sha256_algos opt_algo = ALGO_SSE2_64;
|
||||
#else
|
||||
static enum sha256_algos opt_algo = ALGO_C;
|
||||
|
Loading…
x
Reference in New Issue
Block a user