diff --git a/package/jemalloc/jemalloc.mk b/package/jemalloc/jemalloc.mk index 2424eb54c7..1b193189b4 100644 --- a/package/jemalloc/jemalloc.mk +++ b/package/jemalloc/jemalloc.mk @@ -11,14 +11,5 @@ JEMALLOC_LICENSE = BSD-2-Clause 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))