@@ -1,11 +1,12 @@
config BR2_PACKAGE_PROTOBUF
bool "protobuf"
depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_TOOLCHAIN_HAS_THREADS
help
Protocol buffers are Google's language-neutral, platform-neutral,
extensible mechanism for serializing structured data.
http://code.google.com/p/protobuf/
-comment "protobuf requires a toolchain with C++ support enabled"
- depends on !BR2_INSTALL_LIBSTDCPP
+comment "protobuf requires a toolchain with C++ and thread support"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
Fix: http://autobuild.buildroot.net/results/086/08661b6bd6796c9126bcbad3245323160b182ac8/ Signed-off-by: Axel Lin <axel.lin@ingics.com> --- package/protobuf/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)