From patchwork Mon Apr 16 13:06:55 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yegor Yefremov X-Patchwork-Id: 152855 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 73192B700F for ; Mon, 16 Apr 2012 23:07:18 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 8E890A025C; Mon, 16 Apr 2012 13:07:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C2FZWBIqGf1V; Mon, 16 Apr 2012 13:07:14 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 784B9A01F6; Mon, 16 Apr 2012 13:07:14 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 1D0A98F753 for ; Mon, 16 Apr 2012 13:07:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 072538D36E for ; Mon, 16 Apr 2012 13:07:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cu29w7+gMB80 for ; Mon, 16 Apr 2012 13:07:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.visionsystems.de (ns.visionsystems.de [62.145.30.242]) by whitealder.osuosl.org (Postfix) with ESMTP id 8E8E68D362 for ; Mon, 16 Apr 2012 13:07:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.visionsystems.de (Postfix) with ESMTP id 9E67F29FCE0; Mon, 16 Apr 2012 15:07:09 +0200 (CEST) Received: from mail.visionsystems.de ([127.0.0.1]) by localhost (mail.visionsystems.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 15087-07; Mon, 16 Apr 2012 15:07:00 +0200 (CEST) Received: from visionsystems.de (kallisto.visionsystems.local [192.168.1.3]) by mail.visionsystems.de (Postfix) with ESMTP id 4380F29FCDE; Mon, 16 Apr 2012 15:07:00 +0200 (CEST) Received: from development1.visionsystems.local ([192.168.1.36]) by visionsystems.de with Microsoft SMTPSVC(6.0.3790.4675); Mon, 16 Apr 2012 15:07:00 +0200 From: yegorslists@googlemail.com To: buildroot@busybox.net Date: Mon, 16 Apr 2012 15:06:55 +0200 Message-Id: <1334581615-27627-1-git-send-email-yegorslists@googlemail.com> X-Mailer: git-send-email 1.7.7 X-OriginalArrivalTime: 16 Apr 2012 13:07:00.0141 (UTC) FILETIME=[CF2AB5D0:01CD1BD1] X-Virus-Scanned: amavisd-new at visionsystems.de Subject: [Buildroot] [PATCH] boost: pass -dumpversion to user-config.jam X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net From: Yegor Yefremov Short version avoids compiling problems with toolchains containing long version string like Linaro toolchain. Signed-off-by: Yegor Yefremov --- package/boost/boost.mk | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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