From 8b354dac5a414a7e335276a53a32b9dcfd61b379 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 16 Apr 2012 21:46:46 +0200 Subject: boost: fix build with uClibc, add locale/timer modules options Boost 1.49 added two new modules, locale and timer - So add sub options to control compilation of those. The locale module by default compiles the posix backend under Linux, but this needs monetary.h which isn't provided by uClibc, so work around that. While we're at it, hide the icu option as that is just an internal configuration option used by E.G. the locale module. Signed-off-by: Peter Korsgaard --- package/boost/Config.in | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'package/boost/Config.in') diff --git a/package/boost/Config.in b/package/boost/Config.in index 578fced37..87983676e 100644 --- a/package/boost/Config.in +++ b/package/boost/Config.in @@ -37,13 +37,16 @@ config BR2_PACKAGE_BOOST_GRAPH config BR2_PACKAGE_BOOST_GRAPH_PARALLEL bool "boost-graph_parallel" -config BR2_PACKAGE_BOOST_ICU - select BR2_PACKAGE_ICU - bool "boost-icu" - config BR2_PACKAGE_BOOST_IOSTREAMS bool "boost-iostreams" +config BR2_PACKAGE_BOOST_LOCALE + depends on BR2_USE_WCHAR + bool "boost-locale" + +comment "boost-locale requires a toolchain with wchar support" + depends on !BR2_USE_WCHAR + config BR2_PACKAGE_BOOST_MATH bool "boost-math" @@ -75,6 +78,9 @@ config BR2_PACKAGE_BOOST_THREAD depends on BR2_TOOLCHAIN_HAS_THREADS bool "boost-thread" +config BR2_PACKAGE_BOOST_TIMER + bool "boost-timer" + config BR2_PACKAGE_BOOST_WAVE bool "boost-wave" -- cgit v1.2.3