From 836e9bd535ef201b6d4746531ce885901d44cf4e Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Wed, 11 Feb 2015 23:55:03 +0100 Subject: [PATCH] qubit: fix difficulty factor for yaamp --- configure.sh | 2 +- cpuminer-config.h | 7 +++++-- cpuminer-config.h.in | 3 +++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/configure.sh b/configure.sh index 1084ba7..16f100c 100755 --- a/configure.sh +++ b/configure.sh @@ -7,5 +7,5 @@ extracflags="-march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=16" -CUDA_CFLAGS="-O3 -Xcompiler -Wall" ./configure CXXFLAGS="-O3 $extracflags" --with-cuda=/usr/local/cuda --with-nvml=libnvidia-ml.so +CUDA_CFLAGS="-O3 -lineno -Xcompiler -Wall" ./configure CXXFLAGS="-O3 $extracflags" --with-cuda=/usr/local/cuda --with-nvml=libnvidia-ml.so diff --git a/cpuminer-config.h b/cpuminer-config.h index 8640a15..9053804 100644 --- a/cpuminer-config.h +++ b/cpuminer-config.h @@ -84,7 +84,7 @@ #define HAVE_UNISTD_H 1 /* Defined if libcurl supports AsynchDNS */ -#define LIBCURL_FEATURE_ASYNCHDNS 1 +/* #undef LIBCURL_FEATURE_ASYNCHDNS */ /* Defined if libcurl supports IDN */ #define LIBCURL_FEATURE_IDN 1 @@ -146,6 +146,9 @@ /* Defined if libcurl supports TFTP */ #define LIBCURL_PROTOCOL_TFTP 1 +/* Define to 1 if your C compiler doesn't accept -c and -o together. */ +/* #undef NO_MINUS_C_MINUS_O */ + /* Name of package */ #define PACKAGE "ccminer" @@ -182,7 +185,7 @@ #define USE_AVX 1 /* Define to 1 if AVX2 assembly is available. */ -#define USE_AVX2 1 +/* #undef USE_AVX2 */ /* Define to 1 if XOP assembly is available. */ #define USE_XOP 1 diff --git a/cpuminer-config.h.in b/cpuminer-config.h.in index c172559..b8668be 100644 --- a/cpuminer-config.h.in +++ b/cpuminer-config.h.in @@ -145,6 +145,9 @@ /* Defined if libcurl supports TFTP */ #undef LIBCURL_PROTOCOL_TFTP +/* Define to 1 if your C compiler doesn't accept -c and -o together. */ +#undef NO_MINUS_C_MINUS_O + /* Name of package */ #undef PACKAGE