ccminer$ git diff
diff --git a/Makefile.am b/Makefile.am
index edaad61..1b1b05b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -96,9 +96,9 @@ if HAVE_WINDOWS
ccminer_SOURCES += compat/winansi.c
endif
-ccminer_LDFLAGS = $(PTHREAD_FLAGS) @CUDA_LDFLAGS@
+ccminer_LDFLAGS = $(PTHREAD_FLAGS) @CUDA_LDFLAGS@ -lstdc++
ccminer_LDADD = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@ @WS2_LIBS@ @CUDA_LIBS@ @OPENMP_CFLAGS@ @LIBS@ $(nvml_libs)
-ccminer_CPPFLAGS = @LIBCURL_CPPFLAGS@ @OPENMP_CFLAGS@ $(CPPFLAGS) $(PTHREAD_FLAGS) -fno-strict-aliasing $(JANSSON_INCLUDES) $(DEF_INCLUDES) $(nvml_defs)
+ccminer_CPPFLAGS = @LIBCURL_CPPFLAGS@ @OPENMP_CFLAGS@ $(CPPFLAGS) $(PTHREAD_FLAGS) -fno-strict-aliasing $(JANSSON_INCLUDES) $(DEF_INCLUDES) $(nvml_defs) -fopenmp
if HAVE_OSX
ccminer_CPPFLAGS += -I/usr/local/llvm/lib/clang/4.0.0/include
@@ -109,11 +109,13 @@ endif
#ccminer_CPPFLAGS += -DUSE_LIBSODIUM
#ccminer_LDFLAGS += -Lequi/lib
#ccminer_LDADD += -lsodium
-ccminer_LDADD += -lcuda
+ccminer_LDADD += -lcuda -lstdc++
-nvcc_ARCH = -gencode=arch=compute_50,code=\"sm_50,compute_50\"
+nvcc_ARCH = -gencode=arch=compute_61,code=\"sm_61,compute_61\"
+nvcc_ARCH += -gencode=arch=compute_61,code=\"sm_61,compute_61\"
+#nvcc_ARCH = -gencode=arch=compute_50,code=\"sm_50,compute_50\"
-nvcc_ARCH += -gencode=arch=compute_52,code=\"sm_52,compute_52\"
+#nvcc_ARCH += -gencode=arch=compute_52,code=\"sm_52,compute_52\"
#nvcc_ARCH += -gencode=arch=compute_35,code=\"sm_35,compute_35\"
#nvcc_ARCH += -gencode=arch=compute_30,code=\"sm_30,compute_30\"
#nvcc_ARCH += -gencode=arch=compute_20,code=\"sm_21,compute_20\"
diff --git a/bignum.cpp b/bignum.cpp
index 80687b0..5a4b7d3 100644
--- a/bignum.cpp
+++ b/bignum.cpp
@@ -1,6 +1,7 @@
/**
* Wrapper to OpenSSL BIGNUM used by net diff (nBits)
*/
+#define _GLIBCXX_USE_CXX11_ABI 0
#include <stdio.h>
diff --git a/heavy/heavy.cu b/heavy/heavy.cu
index 4e52fa4..7e29e15 100644
--- a/heavy/heavy.cu
+++ b/heavy/heavy.cu
@@ -1,3 +1,5 @@
+
+
#include <stdio.h>
#include <openssl/sha.h>
#include <cuda.h>
diff --git a/scrypt.cpp b/scrypt.cpp
index a6b9b70..dcde669 100644
--- a/scrypt.cpp
+++ b/scrypt.cpp
@@ -27,6 +27,8 @@
* online backup system.
*/
+#define _GLIBCXX_USE_CXX11_ABI 0
+
#ifdef WIN32
#include <ppl.h>
using namespace Concurrency;
Created
June 26, 2018 07:41
-
-
Save hashware/8e368d70490d7b753b0f8532839f54db to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment