From: Nicolas Thill Date: Fri, 16 Jul 2010 13:33:09 +0000 (+0000) Subject: collectd: fix another build failure on avr32 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7f1746aa10f4b6f55cdfe2b69e47120fefbf0366;p=openwrt%2Fsvn-archive%2Fpackages.git collectd: fix another build failure on avr32 the ted plugin fails on avr32 with the following error: cc1: warnings being treated as errors ted.c: In function 'ted_read_value': ted.c:153: warning: format '%zi' expects type 'signed size_t', but argument 3 has type 'ssize_t' SVN-Revision: 22234 --- diff --git a/utils/collectd/Makefile b/utils/collectd/Makefile index 763a60021..6119572b7 100644 --- a/utils/collectd/Makefile +++ b/utils/collectd/Makefile @@ -276,7 +276,7 @@ $(eval $(call BuildPlugin,syslog,syslog output,syslog,)) $(eval $(call BuildPlugin,tail,tail input,tail,)) $(eval $(call BuildPlugin,table,table-like structured file input,table,)) $(eval $(call BuildPlugin,teamspeak2,TeamSpeak2 input,teamspeak2,)) -$(eval $(call BuildPlugin,ted,The Energy Detective input,ted,)) +$(eval $(call BuildPlugin,ted,The Energy Detective input,ted,@((!TARGET_avr32)||BROKEN))) # fails on avr32 because of warnings treated as errors $(eval $(call BuildPlugin,tcpconns,TCP connection tracking input,tcpconns,)) $(eval $(call BuildPlugin,thermal,system temperatures input,thermal,)) $(eval $(call BuildPlugin,unixsock,unix socket output,unixsock,))