summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2025-07-02 10:51:22 -0400
committerTavian Barnes <tavianator@tavianator.com>2025-07-04 08:22:18 -0400
commit19b4d6bb428a94359f0aca524867a8066afe8b5c (patch)
tree7103399545f281eec646bff379cfab786a499211 /configure
parent458c99ba19ccafb637f25bfb7f5a1de2dd84c6dc (diff)
downloadbfs-19b4d6bb428a94359f0aca524867a8066afe8b5c.tar.xz
build: Add support for TySan
There are some false positives, so it's not added to distcheck yet.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 7f0bd04..51b543e 100755
--- a/configure
+++ b/configure
@@ -40,7 +40,7 @@ The default flags result in a plain debug build. Other build profiles include:
--enable-release
Enable optimizations, disable assertions
- --enable-{asan,lsan,msan,tsan,ubsan}
+ --enable-{asan,lsan,msan,tsan,tysan,ubsan}
Enable sanitizers
--enable-gcov
Enable code coverage instrumentation
@@ -164,7 +164,7 @@ for arg; do
--enable-*|--disable-*)
case "$name" in
- release|lto|asan|lsan|msan|tsan|ubsan|lint|gcov)
+ release|lto|asan|lsan|msan|tsan|tysan|ubsan|lint|gcov)
set -- "$@" "$NAME=$yn"
;;
*)
@@ -197,7 +197,7 @@ for arg; do
;;
# Warn about MAKE variables that have documented configure flags
- RELEASE=*|LTO=*|ASAN=*|LSAN=*|MSAN=*|TSAN=*|UBSAN=*|LINT=*|GCOV=*)
+ RELEASE=*|LTO=*|ASAN=*|LSAN=*|MSAN=*|TSAN=*|TYSAN=*|UBSAN=*|LINT=*|GCOV=*)
name=$(printf '%s' "$NAME" | tr 'A-Z_' 'a-z-')
warn '"%s" is deprecated; use --enable-%s' "$arg" "$name"
set -- "$@" "$arg"