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

# Uncomment this to turn on verbose mode.
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export DH_VERBOSE=1
export DFLAGS = -DMAKE_TIME=\""SOURCE_DATE_EPOCH"\"

export CFLAGS:=-flto $(shell dpkg-buildflags --get CFLAGS)
export CXXFLAGS:=-flto $(shell dpkg-buildflags --get CXXFLAGS)
export LDFLAGS:=-Wl,-flto $(shell dpkg-buildflags --get LDFLAGS)

%:
	dh $@
