jemalloc.mk 736 B

123456789101112131415161718192021
  1. ################################################################################
  2. #
  3. # jemalloc
  4. #
  5. ################################################################################
  6. JEMALLOC_VERSION = 5.2.1
  7. JEMALLOC_SOURCE = jemalloc-$(JEMALLOC_VERSION).tar.bz2
  8. JEMALLOC_SITE = https://github.com/jemalloc/jemalloc/releases/download/$(JEMALLOC_VERSION)
  9. JEMALLOC_LICENSE = BSD-2-Clause
  10. JEMALLOC_LICENSE_FILES = COPYING
  11. JEMALLOC_INSTALL_STAGING = YES
  12. # gcc bug internal compiler error: in merge_overlapping_regs, at
  13. # regrename.c:304. This bug is fixed since gcc 6.
  14. ifeq ($(BR2_or1k):$(BR2_TOOLCHAIN_GCC_AT_LEAST_6),y:)
  15. JEMALLOC_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -O0"
  16. endif
  17. $(eval $(autotools-package))
  18. $(eval $(host-autotools-package))