aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
blob: 896d65295e75b8862f86adeb8fee433ff66bcdf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)

%:
	dh  $@

override_dh_auto_build:
	dh_auto_build -- CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CPPFLAGS="$(CPPFLAGS)"