boost: pass -dumpversion to user-config.jam
PATCH 1/1 boost: pass -dumpversion to user-config.jam
From: Yegor Yefremov <[email protected]>
Short version avoids compiling problems with toolchains containing long version string like Linaro toolchain.
Signed-off-by Yegor Yefremov <[email protected]>
--- package/boost/boost.mk | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
package/boost/boost.mk +1 -1
@@ -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
Signature · 1 line
1.7.7
PATCH 1/1 boost: pass -dumpversion to user-config.jam
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"yegorslists" == yegorslists <[email protected]> writes:
yegorslists> From: Yegor Yefremov <[email protected]> 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.
Signature · 1 line
Bye, Peter Korsgaard