aboutsummaryrefslogtreecommitdiff
path: root/package/boost/boost.mk
diff options
context:
space:
mode:
authorGravatar Edson Siqueira <edson.siqueira@datacom.ind.br>2015-11-03 14:59:38 -0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-11-03 21:16:26 +0100
commite9bd806311f84c2c640f8d99ac556fd7111d9f2f (patch)
treef73cb5a6cef26b6a17f6b8982224ac616c27538a /package/boost/boost.mk
parentae675912b8d4c945cccca1d2acf902860fcc9261 (diff)
downloadbuildroot-e9bd806311f84c2c640f8d99ac556fd7111d9f2f.tar.gz
buildroot-e9bd806311f84c2c640f8d99ac556fd7111d9f2f.tar.bz2
boost: add option to build boost_coroutine
It was disabled by default by commit 611dfe6cb55ed72d7df3b7c102f4a723248a4037 because it caused some build failures on AArch64 and SuperH. However, the coroutine module needs the context module, which is only available on certain architectures. We can therefore allow enabling the coroutine module, but only if the context module is available. [Thomas: extend commit log with more details.] Signed-off-by: Edson Siqueira <edson.siqueira@datacom.ind.br> 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, 1 insertions, 3 deletions
diff --git a/package/boost/boost.mk b/package/boost/boost.mk
index 16d05cd99b..80325b0a4e 100644
--- a/package/boost/boost.mk
+++ b/package/boost/boost.mk
@@ -20,13 +20,11 @@ HOST_BOOST_FLAGS = --without-icu \
iostreams locale log math mpi program_options python random regex \
serialization signals system test thread timer wave)
-# coroutine breaks on some weak toolchains and it's new for 1.54+
-BOOST_WITHOUT_FLAGS = coroutine
-
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_CONTAINER),,container)
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CONTEXT),,context)
+BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_COROUTINE),,coroutine)
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_DATE_TIME),,date_time)
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_EXCEPTION),,exception)
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_FILESYSTEM),,filesystem)