summaryrefslogtreecommitdiffstats
path: root/build/flags.mk
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-08-28 11:15:08 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-08-28 17:33:20 -0400
commit49e8620fe191da4fabc79896d05d56cb531ed673 (patch)
tree83a33b23aa8e38a927ed7fc7c0ee22d3098a6757 /build/flags.mk
parente19f2a8a4b3103134f06e5f8e5b59b61488c885f (diff)
downloadbfs-49e8620fe191da4fabc79896d05d56cb531ed673.tar.xz
build: Move tsan/target_clones conflict to the prelude
Diffstat (limited to 'build/flags.mk')
-rw-r--r--build/flags.mk4
1 files changed, 0 insertions, 4 deletions
diff --git a/build/flags.mk b/build/flags.mk
index 504df63..4636620 100644
--- a/build/flags.mk
+++ b/build/flags.mk
@@ -41,10 +41,6 @@ _GCOV := ${TRUTHY,${GCOV}}
_LINT := ${TRUTHY,${LINT}}
_RELEASE := ${TRUTHY,${RELEASE}}
-# https://github.com/google/sanitizers/issues/342
-TSAN_CPPFLAGS,y := -DBFS_USE_TARGET_CLONES=0
-_CPPFLAGS += ${TSAN_CPPFLAGS,${_TSAN}}
-
ASAN_CFLAGS,y := -fsanitize=address
LSAN_CFLAGS,y := -fsanitize=leak
MSAN_CFLAGS,y := -fsanitize=memory -fsanitize-memory-track-origins