jemalloc: add a check for valgrind being configured as well
PATCH 1/1 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.
Signed-off-by Charles Hardin <[email protected]>
--- package/jemalloc/jemalloc.mk | 9 +++++++++ 1 file changed, 9 insertions(+)
package/jemalloc/jemalloc.mk +9 -0
@@ -11,5 +11,14 @@ JEMALLOC_LICENSE = BSD-2c JEMALLOC_LICENSE_FILES = COPYING JEMALLOC_INSTALL_STAGING = YES +ifeq ($(BR2_PACKAGE_VALGRIND),y) +JEMALLOC_DEPENDENCIES += valgrind +JEMALLOC_CONF_OPTS += --enable-valgrind +else +JEMALLOC_CONF_OPTS += --disable-valgrind +endif + +HOST_JEMALLOC_CONF_OPTS += --disable-valgrind + $(eval $(autotools-package)) $(eval $(host-autotools-package))
Signature · 1 line
2.7.4 (Apple Git-66)
Thomas Petazzoni
AppliedPATCH 1/1 jemalloc: add a check for valgrind being configured as well
Hello,
Quoted 8 lines · Charles Hardin
jemalloc can be compiled with valgrind support being enabled to produce proper output, so when the valgrind package has been configured configure jemalloc appropriately.
Signed-off-by Charles Hardin <[email protected]>--- package/jemalloc/jemalloc.mk | 9 +++++++++ 1 file changed, 9 insertions(+)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com