kumquat-buildroot/package/jemalloc/jemalloc.mk
Eric Le Bihan 2543544e8d jemalloc: bump version to 5.0.1
Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-09-12 23:28:55 +02:00

25 lines
716 B
Makefile

################################################################################
#
# jemalloc
#
################################################################################
JEMALLOC_VERSION = 5.0.1
JEMALLOC_SOURCE = jemalloc-$(JEMALLOC_VERSION).tar.bz2
JEMALLOC_SITE = https://github.com/jemalloc/jemalloc/releases/download/$(JEMALLOC_VERSION)
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))