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.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/boost/Config.in b/package/boost/Config.in
index add7069e33..0ed8dd2eb1 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.
OpenPOWER on IntegriCloud