diff --git a/Jamfile b/Jamfile index 6e528db8f..a2fa488d3 100755 --- a/Jamfile +++ b/Jamfile @@ -337,6 +337,11 @@ feature.compose system_time : TORRENT_USE_SYSTEM_TIME=1 ; feature ipv6 : on off : composite propagated link-incompatible ; feature.compose off : TORRENT_USE_IPV6=0 ; +feature sanitize : off address undefined thread : composite propagated link-incompatible ; +feature.compose address : -fsanitize=address -fsanitize-undefined-trap-on-error -fsanitize=address ; +feature.compose undefined : -fsanitize=undefined -fsanitize=undefined ; +feature.compose thread : -fsanitize=thread -fsanitize=thread ; + feature need-librt : no yes : composite propagated link-incompatible ; feature fiemap : off on : composite propagated ;