--- boost/thread/detail/thread_safety.hpp.orig 2019-04-09 21:36:36.000000000 +0200 +++ boost/thread/detail/thread_safety.hpp 2020-06-30 20:36:53.687522000 +0200 @@ -80,7 +80,7 @@ #define BOOST_THREAD_NO_THREAD_SAFETY_ANALYSIS \ BOOST_THREAD_ANNOTATION_ATTRIBUTE__(no_thread_safety_analysis) -#if defined(__clang__) && (!defined(SWIG)) && defined(__FreeBSD__) +#if defined(__clang__) && (!defined(SWIG)) && (defined(__FreeBSD__) || defined(__BSDSUniX__)) #if __has_attribute(no_thread_safety_analysis) #define BOOST_THREAD_DISABLE_THREAD_SAFETY_ANALYSIS __attribute__((no_thread_safety_analysis)) #else