From: Sebastian Harl Date: Tue, 28 Jan 2014 21:27:30 +0000 (+0100) Subject: rules: Use -Wno-error=deprecated-declarations for now. X-Git-Tag: collectd-5.4.1-1^0 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=144d778b1074fd0f1a680b0d64a547a699c8f067;p=pkg-collectd.git rules: Use -Wno-error=deprecated-declarations for now. This is to suppress libdbi deprecation warnings. They would else cause build failures due to -Werror. --- diff --git a/debian/changelog b/debian/changelog index 507e41d..9b83212 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,9 @@ collectd (5.4.1-1) unstable; urgency=medium - Removed amqp_0_4.dpatch; merged upstream. * debian/control: - Updated standards-version to 3.9.5; no changes. + * debian/rules: + - Use -Wno-error=deprecated-declarations to suppress libdbi deprecation + warnings for now; they would else cause build failures due to -Werror. -- Sebastian Harl Tue, 28 Jan 2014 21:47:00 +0100 diff --git a/debian/rules b/debian/rules index 0d69699..6b8b6d2 100755 --- a/debian/rules +++ b/debian/rules @@ -17,7 +17,7 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS) CPPFLAGS += -I$(CURDIR)/debian/include CFLAGS = $(shell dpkg-buildflags --get CFLAGS) -CFLAGS += -Wall +CFLAGS += -Wall -Wno-error=deprecated-declarations # There is no way to tell lt_dlopen() to use the RTLD_GLOBAL flag which is # however required by the perl plugin (which would otherwise be unable to find