diff --git a/debian/changelog b/debian/changelog index 0325795..e9b34b0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,9 @@ lightdm-gtk-greeter (2.0.3-1) UNRELEASED; urgency=medium * Run wrap-and-sort. * debian/rules: - drop call to autotools-dev addon. + - force-disable build with -Werror: LGG 2.0.3 enforce build with -Werror, + and it fails because Debian uses -Wdate-time (for build reproducibility) + and LGG uses __DATE__ and __TIME__. * debian/contro: - replace autotools-dev build-dep by debhelper >= 9.20160115. - update standards version to 4.1.1. diff --git a/debian/rules b/debian/rules index a31738c..e466a39 100755 --- a/debian/rules +++ b/debian/rules @@ -4,7 +4,10 @@ export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed -Wl,-O1 export DEB_BUILD_MAINT_OPTIONS=hardening=+all override_dh_auto_configure: - dh_auto_configure -- --disable-silent-rules --enable-kill-on-sigterm + dh_auto_configure -- \ + --disable-silent-rules \ + --enable-kill-on-sigterm \ + --disable-Werror override_dh_install: dh_install debian/01_debian.conf usr/share/lightdm/lightdm-gtk-greeter.conf.d/