From 79cf05bfe4365263713ab5ef83a40300a84d7752 Mon Sep 17 00:00:00 2001 From: "Liam R. Howlett" Date: Wed, 11 May 2022 10:43:59 -0400 Subject: [PATCH] radix tree test suite: Add static-libasan static-libasan removes the (new?) need to use LD_PRELOAD when running the tests. Signed-off-by: Liam R. Howlett --- tools/testing/radix-tree/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/radix-tree/Makefile b/tools/testing/radix-tree/Makefile index 89d613e0505b..1e2540e5dc14 100644 --- a/tools/testing/radix-tree/Makefile +++ b/tools/testing/radix-tree/Makefile @@ -2,7 +2,7 @@ CFLAGS += -I. -I../../include -g -Og -Wall -D_LGPL_SOURCE -fsanitize=address \ -fsanitize=undefined -LDFLAGS += -fsanitize=address -fsanitize=undefined +LDFLAGS += -fsanitize=address -fsanitize=undefined -static-libasan LDLIBS+= -lpthread -lurcu TARGETS = main idr-test multiorder xarray maple CORE_OFILES := xarray.o radix-tree.o idr.o linux.o test.o find_bit.o bitmap.o \ -- 2.50.1