Baruch Siach 2015-03-02 13:53:53 +02:00 committed by Peter Korsgaard
parent 7403ea730d
commit 9d181bb93e
1 changed files with 6 additions and 1 deletions

View File

@ -18,8 +18,13 @@ BDWGC_DEPENDENCIES = libatomic_ops host-pkgconf
# solution.
BDWGC_AUTORECONF = YES
BDWGC_CFLAGS = $(TARGET_CFLAGS)
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
BDWGC_CONF_OPTS = --with-libatomic-ops=yes CFLAGS="$(BDWGC_CFLAGS)"
HOST_BDWGC_CONF_OPTS = --with-libatomic-ops=yes
$(eval $(autotools-package))