From 0228a2a644d2819e91718b5293ec83ffff764caa Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sat, 1 Feb 2014 21:46:31 +0000 Subject: [PATCH] add support for -fsanitize= options to jamfile --- Jamfile | 5 +++++ 1 file changed, 5 insertions(+) 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 ;