diff --git a/package/collectd/Config.in b/package/collectd/Config.in index e6d549f81f..5f39507cff 100644 --- a/package/collectd/Config.in +++ b/package/collectd/Config.in @@ -430,13 +430,14 @@ config BR2_PACKAGE_COLLECTD_NTPD config BR2_PACKAGE_COLLECTD_NUT bool "nut" depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS select BR2_PACKAGE_NUT help The NUT plugin collects uninterruptible power supply (UPS) statistics using the Network UPS Tools (NUT). -comment "nut needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP +comment "nut needs a toolchain w/ C++, threads" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS config BR2_PACKAGE_COLLECTD_OLSRD bool "olsrd" diff --git a/package/nut/Config.in b/package/nut/Config.in index df647b9b48..0ecd33d583 100644 --- a/package/nut/Config.in +++ b/package/nut/Config.in @@ -1,11 +1,12 @@ -comment "nut needs a toolchain w/ C++" +comment "nut needs a toolchain w/ C++, threads" depends on BR2_USE_MMU - depends on !BR2_INSTALL_LIBSTDCPP + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS config BR2_PACKAGE_NUT bool "nut" depends on BR2_USE_MMU # fork() depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS help Network UPS tools