summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-06-24 13:22:38 -0400
committerTavian Barnes <tavianator@tavianator.com>2023-06-24 13:22:38 -0400
commit616392360afc3cfac55a24cc710e3607d8c4ee1d (patch)
tree27203b8b892fcabc2458da594999661fa6b67e04 /Makefile
parentf0df110ba42a6d23cb222069e4c2a4712d48d9f1 (diff)
downloadbfs-616392360afc3cfac55a24cc710e3607d8c4ee1d.tar.xz
build/tsan: Fix target_clones override
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f7af9cc..5d7461e 100644
--- a/Makefile
+++ b/Makefile
@@ -89,7 +89,7 @@ ifdef TSAN
# tsan needs all code instrumented
NOLIBS := y
# https://github.com/google/sanitizers/issues/342
-LOCAL_CPPFLAGS += -DBFS_TARGET_CLONES=false
+LOCAL_CPPFLAGS += -DBFS_USE_TARGET_CLONES=0
LOCAL_CFLAGS += -fsanitize=thread
SANITIZE := y
endif