build: add ThreadSanitizer flag to CFLAGS

This commit is contained in:
Loic Coenen
2026-05-02 22:53:57 +00:00
committed by Loic Coenen (aider)
parent 12a2f8ede2
commit bee7f6d22b

View File

@@ -1,5 +1,5 @@
CC = gcc CC = gcc
CFLAGS = -Wall -Wextra -std=c99 -D_POSIX_C_SOURCE=200809L -I. -Ilib CFLAGS = -Wall -Wextra -std=c99 -D_POSIX_C_SOURCE=200809L -I. -Ilib -fsanitize=thread
LDFLAGS = -ljack -lm -lncurses -lpthread LDFLAGS = -ljack -lm -lncurses -lpthread
all: jack-looper test_engine test_tui test_gui test_cli test_stress test_wav_io all: jack-looper test_engine test_tui test_gui test_cli test_stress test_wav_io