diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2013-02-27 00:01:36 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-02-27 00:01:36 +0100 |
commit | c264e38fce27789a0ab050b6296c2fee8da3752c (patch) | |
tree | 05f28b4069d4dca5111a7cdc5b767446ee26da8f /package/collectd | |
parent | a84432044e0eed6f6c2f895fd5641a08c370bd4b (diff) | |
download | buildroot-novena-c264e38fce27789a0ab050b6296c2fee8da3752c.tar.gz buildroot-novena-c264e38fce27789a0ab050b6296c2fee8da3752c.zip |
collectd: don't build with -Werror
Fixes http://autobuild.buildroot.net/results/09659472f504a364590727a05ac900108ed027b4
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/collectd')
-rw-r--r-- | package/collectd/collectd.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk index 6d2662263..88f67370d 100644 --- a/package/collectd/collectd.mk +++ b/package/collectd/collectd.mk @@ -122,6 +122,14 @@ ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) COLLECTD_CONF_OPT += --with-libgcrypt=$(STAGING_DIR)/usr 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 $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install rm -f $(TARGET_DIR)/usr/bin/collectd-nagios |