+glabels (3.0.0-4) UNRELEASED; urgency=low
+
+ * Enable hardening buildflags
+
+ -- Jakob Haufe <sur5r@sur5r.net> Thu, 05 Jul 2012 00:07:37 +0200
+
glabels (3.0.0-3) unstable; urgency=low
* Remove obsolete configure options
# $Id: rules 23938 2010-04-21 17:43:11Z didrocks-guest $
# ====================================================================
+# Remove excess dependencies
+export DEB_LDFLAGS_MAINT_APPEND += -Wl,--as-needed
+
+# Hardening flags
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_CFLAGS_MAINT_APPEND = -Wall
+include /usr/share/dpkg/buildflags.mk
+
# CDBS classes & rules
include /usr/share/cdbs/1/class/gnome.mk
include /usr/share/cdbs/1/rules/debhelper.mk
# Compilation options
DEB_CONFIGURE_EXTRA_FLAGS := --with-libebook
-# Remove excess dependencies
-DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS=-Wl,--as-needed
-
# Debhelper arguments
DEB_DH_INSTALL_ARGS := --sourcedir=debian/tmp --list-missing