From 55fca515d8d212869acd0f625bde0474ee249b97 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 e7fb4a927..54d92c238 100644 --- a/configure.ac +++ b/configure.ac @@ -193,7 +193,7 @@ fi if test "x$CXXFLAGS_overridden" = "xno"; then CXXFLAGS="$CXXFLAGS -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wno-self-assign" 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 684feb823..ecc1d952a 100644 --- a/src/rpcprotocol.cpp +++ b/src/rpcprotocol.cpp @@ -253,7 +253,6 @@ int ReadHTTPMessage(std::basic_istream& stream, map