1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
#
# export CFLAGS and LDFLAGS for configure
#
# add -O3 and NDEBUG and enable all hardening flags
#
DEB_CFLAGS_MAINT_APPEND = -O3 -DNDEBUG
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
# inject CPPFLAGS to CFLAGS
CFLAGS += $(CPPFLAGS)
%:
dh $@
# install NEWS as changelog
override_dh_installchangelogs:
dh_installchangelogs NEWS
|