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
14 HOST_BDWGC_DEPENDENCIES
= host-libatomic_ops host-pkgconf
16 # The libtool shipped with the package is bogus and generates some
17 # -L/usr/lib flags. It uses a version not supported by Buildroot
18 # libtool patches, so autoreconfiguring the packages is the easiest
20 BDWGC_AUTORECONF
= YES
22 BDWGC_CFLAGS
= $(TARGET_CFLAGS
)
24 BDWGC_CFLAGS
+= -DAO_NO_SPARC_V9
26 ifeq ($(BR2_STATIC_LIBS
),y
)
27 BDWGC_CFLAGS
+= -DGC_NO_DLOPEN
30 # Ensure we use the system libatomic_ops, and not the internal one.
31 BDWGC_CONF_OPTS
= --with-libatomic-ops
=yes CFLAGS
="$(BDWGC_CFLAGS)"
32 HOST_BDWGC_CONF_OPTS
= --with-libatomic-ops
=yes
34 $(eval
$(autotools-package
))
35 $(eval
$(host-autotools-package
))