summaryrefslogtreecommitdiffstats
path: root/package/boost/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/boost/Config.in')
-rw-r--r--package/boost/Config.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/boost/Config.in b/package/boost/Config.in
index add7069e33..92d59c2ec1 100644
--- a/package/boost/Config.in
+++ b/package/boost/Config.in
@@ -1,9 +1,15 @@
comment "boost needs a toolchain w/ C++, threads"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+config BR2_PACKAGE_BOOST_ARCH_SUPPORTS
+ bool
+ default y if !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405 && \
+ !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
+
config BR2_PACKAGE_BOOST
bool "boost"
depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
# Boost could theorically be built with threading=single, but
# that unfortunately doesn't work. Until someone fixes that,
# let's depend on threads.
@@ -93,9 +99,13 @@ comment "boost-locale needs a toolchain w/ wchar"
config BR2_PACKAGE_BOOST_LOG
bool "boost-log"
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
+ # for some reason, uClibc on PowerPC fails to build the boost
+ # log module
+ depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC)
comment "boost-log needs a toolchain w/ NPTL"
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
+ depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC)
config BR2_PACKAGE_BOOST_MATH
bool "boost-math"
OpenPOWER on IntegriCloud