Skip to content

Commit f839697

Browse files
committed
build: remove BOOST_CPPFLAGS usage from bitcoin-tx
The only reason BOOST_CPPFLAGS is needed here, is because of the policy/rbf.h include, which ultimately includes boost multi_index via txmempool.h. However this include is actually unused.
1 parent 13fd9ee commit f839697

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ bitcoin_cli_LDADD += $(EVENT_LIBS)
772772

773773
# bitcoin-tx binary #
774774
bitcoin_tx_SOURCES = bitcoin-tx.cpp
775-
bitcoin_tx_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(BOOST_CPPFLAGS)
775+
bitcoin_tx_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
776776
bitcoin_tx_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
777777
bitcoin_tx_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) $(PTHREAD_FLAGS)
778778

src/bitcoin-tx.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#include <key_io.h>
1616
#include <fs.h>
1717
#include <policy/policy.h>
18-
#include <policy/rbf.h>
1918
#include <primitives/transaction.h>
2019
#include <script/script.h>
2120
#include <script/sign.h>

0 commit comments

Comments
 (0)