jemalloc: add a check for valgrind being configured as well
authorCharles Hardin <ckhardin@exablox.com>
Thu, 8 Sep 2016 23:42:00 +0000 (16:42 -0700)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 11 Sep 2016 20:26:49 +0000 (22:26 +0200)
commitec692f94984e10593dd154fc340299131b347b0f
treed02949e5b3be104e8aad8f9b2ea9ef447314d1c6
parent66c1d1dc169d11d7bcf8db115d6e6ea03ccb8d73
jemalloc: add a check for valgrind being configured as well

jemalloc can be compiled with valgrind support being enabled
to produce proper output, so when the valgrind package has
been configured configure jemalloc appropriately.

In addition, make sure to disable valgrind support unconditionally in
the host variant of jemalloc.

Signed-off-by: Charles Hardin <ckhardin@exablox.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/jemalloc/jemalloc.mk