* Switch to source format "3.0 (quilt)"
* Add patch to fix FTBFS with -Werror=format-security
* Use debhelper (v9) in many places, add build-dependency
+ * Use hardening build flags
+ + Add build-dependency on dpkg-dev >= 1.16.1~
* Add lintian overrides for no-upstream-changelog and no-homepage-field.
-- Axel Beckert <abe@debian.org> Sun, 16 Sep 2012 16:31:08 +0200
#! /usr/bin/make -f
-LDFLAGS =
-CFLAGS = -g -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-
-
-ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
-
-ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
- LDFLAGS += -s
-endif
-
-ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
- NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
- MAKEFLAGS += -j$(NUMJOBS)
-endif
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
build:
# Builds the binary package.