aboutsummaryrefslogtreecommitdiff
path: root/package/boost/boost.mk
diff options
context:
space:
mode:
authorGravatar Romain Naour <romain.naour@smile.fr>2016-07-02 17:29:52 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-02 18:55:02 +0200
commitf7c9571cb0e00338b32cb1b17f185cfcc4ad4965 (patch)
treef2893df4a84dfb2efe8110c29102328623411256 /package/boost/boost.mk
parenta446ab74493dff57b1151ccb99a30424bdf36884 (diff)
downloadbuildroot-f7c9571cb0e00338b32cb1b17f185cfcc4ad4965.tar.gz
buildroot-f7c9571cb0e00338b32cb1b17f185cfcc4ad4965.tar.bz2
package/boost: add boot-type_erasure support
Until now this library wasn't handled by the Buildroot packaging, so add a new config option to disable it when requested. Also disable boost-type_erasure for the host variant to keep it as minimal as possible. Signed-off-by: Romain Naour <romain.naour@smile.fr> 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, 3 insertions, 1 deletions
diff --git a/package/boost/boost.mk b/package/boost/boost.mk
index fc8926509b..1d42f6c2a7 100644
--- a/package/boost/boost.mk
+++ b/package/boost/boost.mk
@@ -18,7 +18,8 @@ HOST_BOOST_FLAGS = --without-icu \
--without-libraries=$(subst $(space),$(comma),atomic chrono context \
coroutine coroutine2 date_time exception filesystem graph \
graph_parallel iostreams locale log math mpi program_options python \
- random regex serialization signals system test thread timer wave)
+ random regex serialization signals system test thread timer type_erasure \
+ wave)
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_ATOMIC),,atomic)
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CHRONO),,chrono)
@@ -47,6 +48,7 @@ BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_SYSTEM),,system)
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_TEST),,test)
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_THREAD),,thread)
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_TIMER),,timer)
+BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_TYPE_ERASURE),,type_erasure)
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_WAVE),,wave)
BOOST_TARGET_CXXFLAGS = $(TARGET_CXXFLAGS)