diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-04-06 14:52:19 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-06-12 12:22:17 -0400 |
commit | 02a21219571332850c7b2fa129e88fa14dbb462c (patch) | |
tree | 833ddb6f8844fca3f2ef0065735d124228273730 | |
parent | 24f19eb15cbae1c6d21e77fcdccdf1cf89ef6faf (diff) | |
download | bfs-02a21219571332850c7b2fa129e88fa14dbb462c.tar.xz |
build: Add tsan to distcheck
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -196,6 +196,9 @@ all: bfs tests $(BIN)/%: @$(MKDIR) $(@D) +$(CC) $(ALL_LDFLAGS) $^ $(ALL_LDLIBS) -o $@ +ifeq ($(OS) $(TSAN),FreeBSD tsan) + elfctl -e +noaslr $@ +endif $(OBJ)/%.o: %.c $(OBJ)/FLAGS @$(MKDIR) $(@D) @@ -279,6 +282,7 @@ distcheck: ifneq ($(OS),Darwin) +$(MAKE) -B msan ubsan check CC=clang $(DISTCHECK_FLAGS) endif + +$(MAKE) -B tsan ubsan check CC=clang $(DISTCHECK_FLAGS) ifeq ($(OS) $(ARCH),Linux x86_64) +$(MAKE) -B check EXTRA_CFLAGS="-m32" ONIG_CONFIG= $(DISTCHECK_FLAGS) endif |