buildroot/package/bdwgc/bdwgc.mk
Bernd Kuhls f0078e42d6 package/bdwgc: bump version to 7.6.0
Removed patches applied upstream:

0002-Do-not-include-sigcontext.h-and-asm-sigcontext.h.patch
c887470e0e

0003-Revert-Move-asm-machine-dependent-files-to-src-folde.patch
5e756d4d8d

0004-configure-match-uclinux-pattern.patch
a628c90bdb

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-05-22 16:02:00 +02:00

36 lines
1.1 KiB
Makefile

################################################################################
#
# bdwgc
#
################################################################################
BDWGC_VERSION = 7.6.0
BDWGC_SOURCE = gc-$(BDWGC_VERSION).tar.gz
BDWGC_SITE = http://www.hboehm.info/gc/gc_source
BDWGC_INSTALL_STAGING = YES
BDWGC_LICENSE = bdwgc license
BDWGC_LICENSE_FILES = README.QUICK
BDWGC_DEPENDENCIES = libatomic_ops host-pkgconf
HOST_BDWGC_DEPENDENCIES = host-libatomic_ops host-pkgconf
# The libtool shipped with the package is bogus and generates some
# -L/usr/lib flags. It uses a version not supported by Buildroot
# libtool patches, so autoreconfiguring the packages is the easiest
# solution.
BDWGC_AUTORECONF = YES
BDWGC_CFLAGS = $(TARGET_CFLAGS)
ifeq ($(BR2_sparc),y)
BDWGC_CFLAGS += -DAO_NO_SPARC_V9
endif
ifeq ($(BR2_STATIC_LIBS),y)
BDWGC_CFLAGS += -DGC_NO_DLOPEN
endif
# Ensure we use the system libatomic_ops, and not the internal one.
BDWGC_CONF_OPTS = --with-libatomic-ops=yes CFLAGS="$(BDWGC_CFLAGS)"
HOST_BDWGC_CONF_OPTS = --with-libatomic-ops=yes
$(eval $(autotools-package))
$(eval $(host-autotools-package))