From 06dfc130f0f152ef11c3113f7237e822b3e45b5b Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 11 Jun 2019 11:05:49 +0200 Subject: [PATCH] nss: Makefile: don't link against asan This is not necessary and was only a hack to handle non-empty LD_PRELOAD environment variables. We explicitly empty LD_PRELOAD before calling our test binaries. --- nss/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nss/Makefile b/nss/Makefile index 7dfe547..9fdda3a 100644 --- a/nss/Makefile +++ b/nss/Makefile @@ -32,7 +32,7 @@ test: tests/gr tests/pw tests/group.nsscash tests/passwd.nsscash tests/%: tests/%.c tests/libcash_test.so $(CC) -o $@ $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) \ $(TEST_CFLAGS) $(TEST_LDFLAGS) -Ltests \ - $< $(LDLIBS) -lcash_test -lasan + $< $(LDLIBS) -lcash_test tests/passwd.nsscash: tests/passwd ../nsscash convert passwd $< $@ -- 2.45.2