diff --git a/debian/control b/debian/control index b9dbb01..13733a8 100644 --- a/debian/control +++ b/debian/control @@ -7,6 +7,7 @@ Uploaders: Build-Depends: debhelper (>= 9), autotools-dev, + dpkg-dev (>= 1.16.1.1), cmake, pkg-config, xmlto, diff --git a/debian/rules b/debian/rules index 6f6724d..7118d4d 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,11 @@ #!/usr/bin/make -f +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk +CFLAGS+=$(CPPFLAGS) +CXXFLAGS+=$(CPPFLAGS) + DEB_HOST_ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH) ifneq (,$(filter armhf,$(DEB_HOST_ARCH))) ARM_FLOAT_ABI = -DARM_FP_ABI=hard