Patchwork collectd: needs thread support

login
register
mail settings
Submitter Thomas Petazzoni
Date June 18, 2012, 8:20 a.m.
Message ID <1340007618-7387-1-git-send-email-thomas.petazzoni@free-electrons.com>
Download mbox | patch
Permalink /patch/165412/
State Accepted
Commit 9cf295017d21233806528d6a3538c9724913db8b
Headers show

Comments

Thomas Petazzoni - June 18, 2012, 8:20 a.m.
Fixes
http://autobuild.buildroot.net/results/28f10dcc772809d53315f6dfb37bb41d77183abe/.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/collectd/Config.in |    4 ++++
 1 file changed, 4 insertions(+)
Peter Korsgaard - June 18, 2012, 7:08 p.m.
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> Fixes
 Thomas> http://autobuild.buildroot.net/results/28f10dcc772809d53315f6dfb37bb41d77183abe/.

Committed, thanks.

Patch

diff --git a/package/collectd/Config.in b/package/collectd/Config.in
index cb96fbd..96438c0 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -1,5 +1,6 @@ 
 config BR2_PACKAGE_COLLECTD
 	bool "collectd"
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  collectd is a daemon which collects system performance
 	  statistics periodically and provides mechanisms to store
@@ -380,3 +381,6 @@  config BR2_PACKAGE_COLLECTD_WRITEHTTP
 endmenu
 
 endif
+
+comment "collectd needs a toolchain with thread support"
+        depends on !BR2_TOOLCHAIN_HAS_THREADS