mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 11:57:28 -03:00
build: remove workaround for Boost and std::atomic
This commit is contained in:
parent
2bf211696b
commit
df2c933217
1 changed files with 0 additions and 5 deletions
|
@ -1438,11 +1438,6 @@ if test x$use_boost = xyes; then
|
||||||
BOOST_CPPFLAGS=SUPPRESS_WARNINGS($BOOST_CPPFLAGS)
|
BOOST_CPPFLAGS=SUPPRESS_WARNINGS($BOOST_CPPFLAGS)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl Boost 1.56 through 1.62 allow using std::atomic instead of its own atomic
|
|
||||||
dnl counter implementations. In 1.63 and later the std::atomic approach is default.
|
|
||||||
m4_pattern_allow(DBOOST_AC_USE_STD_ATOMIC) dnl otherwise it's treated like a macro
|
|
||||||
BOOST_CPPFLAGS="-DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC $BOOST_CPPFLAGS"
|
|
||||||
|
|
||||||
BOOST_LIBS="$BOOST_LDFLAGS $BOOST_SYSTEM_LIB $BOOST_FILESYSTEM_LIB"
|
BOOST_LIBS="$BOOST_LDFLAGS $BOOST_SYSTEM_LIB $BOOST_FILESYSTEM_LIB"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue