From: Simon Ruderich Date: Tue, 11 Jun 2019 09:05:49 +0000 (+0200) Subject: nss: Makefile: don't link against asan X-Git-Tag: 0.1~60 X-Git-Url: https://ruderich.org/simon/gitweb/?p=nsscash%2Fnsscash.git;a=commitdiff_plain;h=06dfc130f0f152ef11c3113f7237e822b3e45b5b 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. --- 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 $< $@