aboutsummaryrefslogtreecommitdiff
path: root/package/collectd
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2018-06-24 17:44:52 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2018-06-24 21:10:06 +0200
commit50a0f56bca65cd04d6803359f0b01a2e6fc57f19 (patch)
treeaebc032adc55649d665008078dabf258ef5460c7 /package/collectd
parent960f58a2d8bf123ac91201d793bd033130b29dba (diff)
downloadbuildroot-50a0f56bca65cd04d6803359f0b01a2e6fc57f19.tar.gz
buildroot-50a0f56bca65cd04d6803359f0b01a2e6fc57f19.tar.bz2
collectd: use --disable-werror
Since version 5.6.0, --disable-werror is available: https://github.com/collectd/collectd/pull/1222 So use this option, instead of adding a hook to remove it from Makefile.in Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/collectd')
-rw-r--r--package/collectd/collectd.mk9
1 files changed, 1 insertions, 8 deletions
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index ef45f342ae..589324e612 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -42,6 +42,7 @@ COLLECTD_CONF_OPTS += \
--with-nan-emulation \
--with-fp-layout=$(COLLECTD_FP_LAYOUT) \
--with-perl-bindings=no \
+ --disable-werror \
$(foreach p, $(COLLECTD_PLUGINS_DISABLE), --disable-$(p)) \
$(if $(BR2_PACKAGE_COLLECTD_AGGREGATION),--enable-aggregation,--disable-aggregation) \
$(if $(BR2_PACKAGE_COLLECTD_APACHE),--enable-apache,--disable-apache) \
@@ -194,14 +195,6 @@ else
COLLECTD_CONF_OPTS += --with-libgcrypt=no
endif
-# released software should not break on minor warnings
-define COLLECTD_DROP_WERROR
- $(SED) 's/-Werror//' \
- $(@D)/src/Makefile.in $(@D)/src/libcollectdclient/Makefile.in
-endef
-
-COLLECTD_POST_PATCH_HOOKS += COLLECTD_DROP_WERROR
-
define COLLECTD_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install
rm -f $(TARGET_DIR)/usr/bin/collectd-nagios