diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2012-02-19 20:02:34 +0100 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2012-02-19 21:45:06 +0100 |
commit | 906e7cb3bc16e9b2c6020613d4fab10be9bd0e33 (patch) | |
tree | d1f42bc75e72ec93d19f39c1f8f19f03f1e041ae /debian/rules | |
parent | 2a1d0d8321942ba6950a20722517b7a338e46783 (diff) | |
download | screen-906e7cb3bc16e9b2c6020613d4fab10be9bd0e33.tar.gz |
Apply Moritz Muehlenhoff's hardening patch to debian/rules
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index bd4f966..5700e8f 100755 --- a/debian/rules +++ b/debian/rules @@ -12,6 +12,9 @@ ROOT := $(CURDIR)/debian/$(package) # statically define this... sucko TTYGROUP := 5 +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk + ifeq ($(findstring noopt,$(DEB_BUILD_OPTIONS)),noopt) CC_OPTFLAGS := -O0 -g3 else @@ -33,6 +36,7 @@ configure-stamp: dh_testdir dh_autoreconf ./configure --prefix=/usr \ + $(shell dpkg-buildflags --export=configure) \ --infodir='$$(prefix)/share/info' \ --mandir='$$(prefix)/share/man' \ --with-socket-dir=/var/run/screen \ |