]> ruderich.org/simon Gitweb - nsscash/nsscash.git/commitdiff
nss: Makefile: don't link against asan
authorSimon Ruderich <simon@ruderich.org>
Tue, 11 Jun 2019 09:05:49 +0000 (11:05 +0200)
committerSimon Ruderich <simon@ruderich.org>
Tue, 11 Jun 2019 09:05:49 +0000 (11:05 +0200)
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

index 7dfe54738cf998245b2ca8ab5c61769e715dacff..9fdda3a0bf6cc543a00b844903b4ec1d2a131bf1 100644 (file)
@@ -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 $< $@