#!/usr/bin/make -f
# -*- makefile -*-

include /usr/share/dpkg/default.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CXXFLAGS_MAINT_APPEND = -Wno-error=free-nonheap-object

DEB_BUILD_OPTIONS+=nocheck

%:
	dh $@

# do not run tests on 32-bit architectures
ifneq (,$(filter $(DEB_HOST_ARCH),armhf i386 hppa hurd-i386 m68k powerpc sh4 x32))
override_dh_auto_configure:
	dh_auto_configure -- \
    -Denable_tests=false
endif
