From patchwork Wed Mar 11 18:00:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?No=C3=A9_Rubinstein?= X-Patchwork-Id: 449117 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id EEBDB140172 for ; Thu, 12 Mar 2015 05:01:03 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 17F09A3451; Wed, 11 Mar 2015 18:01:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pSkLAcr8nI-a; Wed, 11 Mar 2015 18:00:59 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4073AA33D4; Wed, 11 Mar 2015 18:00:59 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 154851C268D for ; Wed, 11 Mar 2015 18:00:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1160CA33D4 for ; Wed, 11 Mar 2015 18:00:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MrPit2MLrRci for ; Wed, 11 Mar 2015 18:00:57 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f177.google.com (mail-we0-f177.google.com [74.125.82.177]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 4C114A33B0 for ; Wed, 11 Mar 2015 18:00:57 +0000 (UTC) Received: by wesp10 with SMTP id p10so10999269wes.11 for ; Wed, 11 Mar 2015 11:00:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:to:cc:subject:date:message-id :content-type:content-transfer-encoding; bh=5uMKyF31UhlW79aRqw/sAdfOaDfc5/IkNek17yoq33Q=; b=MKHxiB80b7kd3JLPfbq5Jh7NO6xse/aWEV1BmRIl7fxB7yqL7KVOZbAp050wWJDSUq GB6TUjjCxjqoWlSqo0ssE7M4gJ+rrAcEMuItzP75LajWqoEbngtrdfoDEIxVpF0Zk3ar FXr7LFqI2warYZKa3LH5fbpKh1Ii4Jl1kx7ZtxofEM8SN88v3xttt2ISYptOf+aKEfpt kwbfrAD4sa2fhgLsnUFwXVCJtpUR9QTURRkklCqg+JGik06JcnRiVhKLpVH7qVsIWkMS Ant1SQXWAZlDJTV0jZkD/aAw4D1vTwfQhF7CU2MzQQQAQdYux+udnZSqedmYpOUz8gpv 10Zg== X-Gm-Message-State: ALoCoQmhP+THtDERS9XtJVFGEn8GFKPGv4gmgvyr5NvJR/3nJ1uT7iYlVtxQwpw7qF9ON+6n6Nf/wdiWD9x3v2V722osUo9wL/cS3X9n7+7faiopErnh7HVxbQIDgoevQJj603GFGTOW MIME-Version: 1.0 X-Received: by 10.194.172.9 with SMTP id ay9mr79213565wjc.2.1426096855334; Wed, 11 Mar 2015 11:00:55 -0700 (PDT) Received: from nrubinstein-de.aldebaran.lan ([195.190.86.18]) by mx.google.com with ESMTPSA id gt4sm7088494wib.21.2015.03.11.11.00.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Mar 2015 11:00:54 -0700 (PDT) From: =?UTF-8?q?No=C3=A9=20Rubinstein?= To: buildroot@buildroot.org Date: Wed, 11 Mar 2015 19:00:05 +0100 Message-Id: <1426096805-28072-1-git-send-email-nrubinstein@aldebaran.com> X-Mailer: git-send-email 2.1.4 Subject: [Buildroot] [PATCH] boost: enable boost-atomic X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" It was disabled in february 2013 by commit e5434583badf1abf4a4620efa76452638ad9e177 because did not build correctly with ucLibc at the time. It now builds correctly with both uClibc v0.9.33 and uClibc-ng. --- package/boost/Config.in | 3 +++ package/boost/boost.mk | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package/boost/Config.in b/package/boost/Config.in index a15b849..574f51a 100644 --- a/package/boost/Config.in +++ b/package/boost/Config.in @@ -50,6 +50,9 @@ config BR2_PACKAGE_BOOST_LAYOUT default "tagged" if BR2_PACKAGE_BOOST_LAYOUT_TAGGED default "versioned" if BR2_PACKAGE_BOOST_LAYOUT_VERSIONED +config BR2_PACKAGE_BOOST_ATOMIC + bool "boost-atomic" + config BR2_PACKAGE_BOOST_CHRONO bool "boost-chrono" diff --git a/package/boost/boost.mk b/package/boost/boost.mk index 7b56827..70160da 100644 --- a/package/boost/boost.mk +++ b/package/boost/boost.mk @@ -23,11 +23,11 @@ HOST_BOOST_FLAGS = --without-icu \ iostreams locale log math mpi program_options python random regex \ serialization signals system test thread timer wave) -# atomic library compile only with upstream version, wait for next release # coroutine breaks on some weak toolchains and it's new for 1.54+ # log breaks with some toolchain combinations and it's new for 1.54+ -BOOST_WITHOUT_FLAGS = atomic coroutine log +BOOST_WITHOUT_FLAGS = coroutine log +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_ATOMIC),,atomic) BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CHRONO),,chrono) BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CONTEXT),,context) BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_DATE_TIME),,date_time)