#! /usr/bin/make -f

# In contrary to Debian, we use by default -Wformat-overflow=2 -Wformat-truncation=2
# in Apertis, but due to the use of -Werror this package FTBFS with:
# "cc1: all warnings being treated as errors". In order to avoid this error, we
# don't treat these warnings as errors.
export DEB_CFLAGS_MAINT_APPEND = -Wno-error=format-overflow -Wno-error=format-truncation
export DEB_CXXFLAGS_MAINT_APPEND = -Wno-error=format-overflow -Wno-error=format-truncation

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

export LC_ALL=C.UTF-8

%:
	dh $@

override_dh_auto_test:
	dh_auto_test --no-parallel
