forked from boostorg/config
Clang/libc++: Disable thread_local prior to clang-6 as it appears not to work.
See: https://github.com/boostorg/config/issues/231.
This commit is contained in:
@ -111,7 +111,7 @@
|
|||||||
# define BOOST_NO_CXX11_THREAD_LOCAL
|
# define BOOST_NO_CXX11_THREAD_LOCAL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__linux__) && (_LIBCPP_VERSION < 4000) && !defined(BOOST_NO_CXX11_THREAD_LOCAL)
|
#if defined(__linux__) && (_LIBCPP_VERSION < 6000) && !defined(BOOST_NO_CXX11_THREAD_LOCAL)
|
||||||
// After libc++-dev is installed on Trusty, clang++-libc++ almost works,
|
// After libc++-dev is installed on Trusty, clang++-libc++ almost works,
|
||||||
// except uses of `thread_local` fail with undefined reference to
|
// except uses of `thread_local` fail with undefined reference to
|
||||||
// `__cxa_thread_atexit`.
|
// `__cxa_thread_atexit`.
|
||||||
|
Reference in New Issue
Block a user