Message ID | 1334581615-27627-1-git-send-email-yegorslists@googlemail.com |
---|---|
State | Accepted |
Headers | show |
>>>>> "yegorslists" == yegorslists <yegorslists@googlemail.com> writes:
yegorslists> From: Yegor Yefremov <yegorslists@googlemail.com>
yegorslists> Short version avoids compiling problems with toolchains
yegorslists> containing long version string like Linaro toolchain.
Committed, but I dropped the head / sed invocations as -dumpversion
directly provides the version number.
diff --git a/package/boost/boost.mk b/package/boost/boost.mk index e25e24d..b106be7 100644 --- a/package/boost/boost.mk +++ b/package/boost/boost.mk @@ -10,7 +10,7 @@ BOOST_SOURCE = boost_$(BOOST_FILE_VERSION).tar.bz2 BOOST_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/boost BOOST_INSTALL_STAGING = YES -TARGET_CC_VERSION = $(shell $(TARGET_CC) --version | head -n 1 | sed -e "s/.*[[:space:]]\([[:digit:].]\+$$\)/\1/g" ) +TARGET_CC_VERSION = $(shell $(TARGET_CC) -dumpversion | head -n 1 | sed -e "s/.*[[:space:]]\([[:digit:].]\+$$\)/\1/g" ) BOOST_DEPENDENCIES = bzip2 zlib