Skip to contentSkip to conversation

boost: pass -dumpversion to user-config.jam

PATCH New yegorslists at googlemail.com 2 participants 2 messages Apr 16, 2012

lore
Share & tools
lore
#0 lore raw

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.

---
 package/boost/boost.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
package/boost/boost.mk +1 -1
index e25e24d..b106be7 100644
@@ -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
#1 lore raw

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