Skip to content

Commit

Permalink
Get rid of boost requirement.
Browse files Browse the repository at this point in the history
  • Loading branch information
hmage committed Apr 15, 2016
1 parent 94f5038 commit 73eae16
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 25 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ if HAVE_WINDOWS
endif

cpuminer_LDFLAGS = @LDFLAGS@
cpuminer_LDADD = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@ @WS2_LIBS@ -lssl -lcrypto -lboost_thread -lboost_system
cpuminer_LDADD = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@ @WS2_LIBS@ -lssl -lcrypto
cpuminer_CPPFLAGS = @LIBCURL_CPPFLAGS@ $(ALL_INCLUDES)
cpuminer_CFLAGS = -Wno-pointer-sign -Wno-pointer-to-int-cast $(disable_flags)

Expand Down
3 changes: 1 addition & 2 deletions algo/hodl/hodl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
#include "block.h"
#include <sstream>
#include "tinyformat.h"
#include <boost/unordered_map.hpp>
#include <boost/thread.hpp>
#include <unordered_map>
#include "hash.h"
#include <openssl/aes.h>
#include <openssl/evp.h>
Expand Down
21 changes: 0 additions & 21 deletions bitcoin-config.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,27 +32,6 @@
/* parameter and return value type for __fdelt_chk */
/* #undef FDELT_TYPE */

/* define if the Boost library is available */
#define HAVE_BOOST /**/

/* define if the Boost::Chrono library is available */
#define HAVE_BOOST_CHRONO /**/

/* define if the Boost::Filesystem library is available */
#define HAVE_BOOST_FILESYSTEM /**/

/* define if the Boost::PROGRAM_OPTIONS library is available */
#define HAVE_BOOST_PROGRAM_OPTIONS /**/

/* define if the Boost::System library is available */
#define HAVE_BOOST_SYSTEM /**/

/* define if the Boost::Thread library is available */
#define HAVE_BOOST_THREAD /**/

/* define if the Boost::Unit_Test_Framework library is available */
#define HAVE_BOOST_UNIT_TEST_FRAMEWORK /**/

/* Define to 1 if you have the <byteswap.h> header file. */
#define HAVE_BYTESWAP_H 1

Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ rm -f config.status
extracflags="$extracflags -O3 -march=native -ftree-loop-if-convert-stores -DUSE_ASM"

CFLAGS="$extracflags" \
CXXFLAGS="$CFLAGS" \
CXXFLAGS="$CFLAGS -std=gnu++11" \
./configure --with-crypto --with-curl

make -j 4
Expand Down

0 comments on commit 73eae16

Please sign in to comment.