From 3a003b9ab8c80962f2622d66f07cde6fc8b71aac Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Sat, 25 Feb 2012 14:43:28 -0500 Subject: [PATCH] Bugfix: Allow enabling CPU even without OpenCL support --- cgminer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgminer.c b/cgminer.c index d48f7cbe..c336f8b4 100644 --- a/cgminer.c +++ b/cgminer.c @@ -667,11 +667,11 @@ static struct opt_table opt_config_table[] = { OPT_WITHOUT_ARG("--disable-gpu|-G", opt_set_bool, &opt_nogpu, "Disable GPU mining even if suitable devices exist"), +#endif #if defined(WANT_CPUMINE) && (defined(HAVE_OPENCL) || defined(USE_BITFORCE) || defined(USE_ICARUS)) OPT_WITHOUT_ARG("--enable-cpu|-C", opt_set_bool, &opt_usecpu, "Enable CPU mining with other mining (default: no CPU mining if other devices exist)"), -#endif #endif OPT_WITH_ARG("--expiry|-E", set_int_0_to_9999, opt_show_intval, &opt_expiry,