1 ################################################################################
5 ################################################################################
8 BDWGC_SOURCE = gc-$(BDWGC_VERSION).tar.gz
9 BDWGC_SITE = http://www.hboehm.info/gc/gc_source
10 BDWGC_INSTALL_STAGING = YES
11 BDWGC_LICENSE = bdwgc license
12 BDWGC_LICENSE_FILES = README.QUICK
13 BDWGC_DEPENDENCIES = libatomic_ops host-pkgconf
15 # The libtool shipped with the package is bogus and generates some
16 # -L/usr/lib flags. It uses a version not supported by Buildroot
17 # libtool patches, so autoreconfiguring the packages is the easiest
19 BDWGC_AUTORECONF = YES
21 BDWGC_CFLAGS = $(TARGET_CFLAGS)
22 ifeq ($(BR2_STATIC_LIBS),y)
23 BDWGC_CFLAGS += -DGC_NO_DLOPEN
26 # Ensure we use the system libatomic_ops, and not the internal one.
27 BDWGC_CONF_OPTS = --with-libatomic-ops=yes CFLAGS="$(BDWGC_CFLAGS)"
28 HOST_BDWGC_CONF_OPTS = --with-libatomic-ops=yes
30 $(eval $(autotools-package))
31 $(eval $(host-autotools-package))