--- cmake/dtrace.cmake 2020-07-03 14:58:28.973569000 +0200 +++ cmake/dtrace.cmake.orig 2020-07-03 14:57:18.093937000 +0200 @@ -43,6 +43,7 @@ # On FreeBSD, dtrace does not handle userland tracing yet IF(DTRACE AND NOT CMAKE_SYSTEM_NAME MATCHES "FreeBSD" + AND NOT CMAKE_SYSTEM_NAME MATCHES "BSDSUniX" AND NOT BUGGY_GCC_NO_DTRACE_MODULES) SET(ENABLE_DTRACE ON CACHE BOOL "Enable dtrace") ENDIF()