From b6668209aadb7357404057985e1779d8faec52ed Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Sun, 21 Jun 2015 08:22:31 +0200 Subject: [PATCH] build: Remove -DBOOST_SPIRIT_THREADSAFE Now that boost spirit is no longer used, `-DBOOST_SPIRIT_THREADSAFE` doesn't need to be passed to the compiler anymore. --- configure.ac | 2 +- src/rpcprotocol.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 61b6a314af1..8a54c2f76e7 100644 --- a/configure.ac +++ b/configure.ac @@ -162,7 +162,7 @@ fi if test "x$CXXFLAGS_overridden" = "xno"; then CXXFLAGS="$CXXFLAGS -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter" fi -CPPFLAGS="$CPPFLAGS -DBOOST_SPIRIT_THREADSAFE -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS" +CPPFLAGS="$CPPFLAGS -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS" AC_ARG_WITH([utils], [AS_HELP_STRING([--with-utils], diff --git a/src/rpcprotocol.cpp b/src/rpcprotocol.cpp index 090e5ea7f4b..89dec2977e1 100644 --- a/src/rpcprotocol.cpp +++ b/src/rpcprotocol.cpp @@ -251,7 +251,6 @@ int ReadHTTPMessage(std::basic_istream& stream, map