4051756ad4
The boost.m4 logic is a bit crappy, and needs some help to know that boost_regex needs the pthread library. Fixes: http://autobuild.buildroot.org/results/69a/69aff0b9d0ac8fe08e1d2f7ffb691f6a8fc8693b/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
24 lines
776 B
Makefile
24 lines
776 B
Makefile
################################################################################
|
|
#
|
|
# cc-tool
|
|
#
|
|
################################################################################
|
|
|
|
CC_TOOL_VERSION = 0.26
|
|
CC_TOOL_SITE = http://downloads.sourceforge.net/project/cctool
|
|
CC_TOOL_SOURCE = cc-tool-$(CC_TOOL_VERSION)-src.tgz
|
|
CC_TOOL_LICENSE = GPLv2
|
|
CC_TOOL_LICENSE_FILES = COPYING
|
|
CC_TOOL_DEPENDENCIES = boost libusb
|
|
|
|
# Configure script "discovers" boost in /usr/local if not given explicitly
|
|
CC_TOOL_CONF_OPTS = --with-boost=$(STAGING_DIR)/usr
|
|
|
|
# Help boost.m4 find the Boost Regex library, which needs the pthread
|
|
# library, but isn't detected using a modern (pkg-config) mechanism.
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
CC_TOOL_CONF_ENV += LIBS="-lpthread"
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|