summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-10-10 07:23:18 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2013-10-10 20:41:27 (GMT)
commit020775b33f87fbda4e805e3f8740d312c9fc9bf5 (patch)
tree34eecc7de44678e6683d96c5712f3424dc63e0ed
parent92af118d82a6031c7d9750959d6dc07a82a54ac4 (diff)
downloadbuildroot-020775b33f87fbda4e805e3f8740d312c9fc9bf5.tar.gz
buildroot-020775b33f87fbda4e805e3f8740d312c9fc9bf5.tar.bz2
protobuf: needs thread support
Fix: http://autobuild.buildroot.net/results/086/08661b6bd6796c9126bcbad3245323160b182ac8/ Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/protobuf-c/Config.in5
-rw-r--r--package/protobuf/Config.in5
2 files changed, 6 insertions, 4 deletions
diff --git a/package/protobuf-c/Config.in b/package/protobuf-c/Config.in
index 9aff6e2..17cc8f1 100644
--- a/package/protobuf-c/Config.in
+++ b/package/protobuf-c/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_PROTOBUF_C
bool "protobuf-c"
depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf
select BR2_PACKAGE_PROTOBUF
help
Code generator and runtime libraries to use Protocol Buffers
@@ -8,5 +9,5 @@ config BR2_PACKAGE_PROTOBUF_C
http://code.google.com/p/protobuf-c/
-comment "protobuf-c requires a toolchain with C++ support enabled"
- depends on !BR2_INSTALL_LIBSTDCPP
+comment "protobuf-c requires a toolchain with C++ and thread support"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/protobuf/Config.in b/package/protobuf/Config.in
index b044ef0..92e85ba 100644
--- a/package/protobuf/Config.in
+++ b/package/protobuf/Config.in
@@ -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