source "package/apr-util/Config.in"
source "package/argp-standalone/Config.in"
source "package/armadillo/Config.in"
+ source "package/bdwgc/Config.in"
source "package/boost/Config.in"
source "package/clapack/Config.in"
source "package/classpath/Config.in"
--- /dev/null
+config BR2_PACKAGE_BDWGC
+ bool "bdwgc"
+ depends on BR2_PACKAGE_LIBATOMIC_ARCH_SUPPORTS
+ select BR2_PACKAGE_LIBATOMIC_OPS
+ help
+ The Boehm-Demers-Weiser conservative garbage collector can
+ be used as a garbage collecting replacement for C 'malloc'
+ or C++ 'new'.
+
+ http://www.hboehm.info/gc/
--- /dev/null
+################################################################################
+#
+# bdwgc
+#
+################################################################################
+
+BDWGC_VERSION = 7.2f
+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
+
+# 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
+
+# Ensure we use the system libatomic_ops, and not the internal one.
+BDWGC_CONF_OPTS = --with-libatomic-ops=yes
+HOST_BDWGC_CONF_OPTS = --with-libatomic-ops=yes
+
+$(eval $(autotools-package))
+$(eval $(host-autotools-package))