aboutsummaryrefslogtreecommitdiff
path: root/package/boost/boost.mk
diff options
context:
space:
mode:
authorGravatar Noé Rubinstein <nrubinstein@aldebaran.com>2015-03-12 10:44:24 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-03-13 23:13:31 +0100
commit858c7d91b9cbc827e7c3f28c0d58421167de2860 (patch)
tree4026d4093f86fa654cf6b38456b12cb48d096e4f /package/boost/boost.mk
parente78027ff7e31f389a9a0ca959dfbe9639afa5615 (diff)
downloadbuildroot-858c7d91b9cbc827e7c3f28c0d58421167de2860.tar.gz
buildroot-858c7d91b9cbc827e7c3f28c0d58421167de2860.tar.bz2
boost: enable boost-atomic
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. Signed-off-by: Noé Rubinstein <nrubinstein@aldebaran.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/boost/boost.mk')
-rw-r--r--package/boost/boost.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/boost/boost.mk b/package/boost/boost.mk
index 7b56827bf1..70160da4de 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)