kumquat-buildroot/package/jemalloc/jemalloc.mk
Fabrice Fontaine 04f45dbc5d package/jemalloc: bump to version 5.2.1
Remove patch: documentation can be disabled through --disable-doc
since
702d76dbd0,
and the autotools infra already passes --disable-doc to all packages.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-08-06 22:16:07 +02:00

22 lines
736 B
Makefile

################################################################################
#
# jemalloc
#
################################################################################
JEMALLOC_VERSION = 5.2.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
# gcc bug internal compiler error: in merge_overlapping_regs, at
# regrename.c:304. This bug is fixed since gcc 6.
ifeq ($(BR2_or1k):$(BR2_TOOLCHAIN_GCC_AT_LEAST_6),y:)
JEMALLOC_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -O0"
endif
$(eval $(autotools-package))
$(eval $(host-autotools-package))