build: remove workaround for Boost and std::atomic

This commit is contained in:
fanquake 2021-06-23 14:15:58 +08:00
parent 2bf211696b
commit df2c933217
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -1438,11 +1438,6 @@ if test x$use_boost = xyes; then
BOOST_CPPFLAGS=SUPPRESS_WARNINGS($BOOST_CPPFLAGS)
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"
fi