Enable thread-sanitizer builds on Linux
@@ -26,6 +26,9 @@ EXTRA_CFLAGS =
ifeq ($(ASAN),1)
EXTRA_CFLAGS += -fsanitize=address
endif
+ifeq ($(TSAN),1)
+ EXTRA_CFLAGS += -fsanitize=thread
+endif
MBEDTLS_DIR := $(ROOT_DIR)/deps/mbedtls
GTEST_DIR = $(ROOT_DIR)/deps/gtest
