]> rtime.felk.cvut.cz Git - notmuch.git/commit
test: use LDFLAGS in test/Makefile.local
authorJani Nikula <jani@nikula.org>
Mon, 20 Oct 2014 15:03:21 +0000 (18:03 +0300)
committerDavid Bremner <david@tethera.net>
Fri, 31 Oct 2014 16:51:22 +0000 (17:51 +0100)
commit0f35ddcdfc9d4011db32def6082f8aec5c372a7b
treee86e94a34ff2db401cd8461448a54fc093021bad
parent7d32b01d781fedc2fa363ff38ae3aa7fe73540f1
test: use LDFLAGS in test/Makefile.local

Apparently the test binaries are built with minimal LDFLAGS, only
adding dependency specific LDFLAGS as needed. However because some of
the test binaries incorporate notmuch object files, it is necessary to
use the same link flags as notmuch. For example user provided
CFLAGS/CXXFLAGS/LDFLAGS with -fsanitize=undefined fails to build the
test binaries if the flags differ.
test/Makefile.local