2016-06-25 03:46:30 +08:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# jemalloc
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-08-07 01:58:00 +08:00
|
|
|
JEMALLOC_VERSION = 5.2.1
|
2016-06-25 03:46:30 +08:00
|
|
|
JEMALLOC_SOURCE = jemalloc-$(JEMALLOC_VERSION).tar.bz2
|
2017-04-03 01:54:18 +08:00
|
|
|
JEMALLOC_SITE = https://github.com/jemalloc/jemalloc/releases/download/$(JEMALLOC_VERSION)
|
2017-03-30 21:43:39 +08:00
|
|
|
JEMALLOC_LICENSE = BSD-2-Clause
|
2016-06-25 03:46:30 +08:00
|
|
|
JEMALLOC_LICENSE_FILES = COPYING
|
|
|
|
JEMALLOC_INSTALL_STAGING = YES
|
2020-11-29 15:57:04 +08:00
|
|
|
JEMALLOC_CONFIG_SCRIPTS = jemalloc-config
|
2016-06-25 03:46:30 +08:00
|
|
|
|
2019-04-22 01:08:51 +08:00
|
|
|
# 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
|
|
|
|
|
2016-06-25 03:46:30 +08:00
|
|
|
$(eval $(autotools-package))
|
|
|
|
$(eval $(host-autotools-package))
|