diff options
author | Steve Langasek <steve.langasek@canonical.com> | 2020-08-12 18:53:20 +0000 |
---|---|---|
committer | Steve Langasek <steve.langasek@canonical.com> | 2020-08-12 18:53:20 +0000 |
commit | dfd785460062dc0ed8b70920ff269e6060f76b11 (patch) | |
tree | 38abfde70aebac7f48d8b7aee154bdd6f67623e0 /debian/rules | |
parent | 283648f823577132d809a3f2e23ecb26ad9f187c (diff) | |
download | pam-dfd785460062dc0ed8b70920ff269e6060f76b11.tar.gz pam-dfd785460062dc0ed8b70920ff269e6060f76b11.tar.bz2 pam-dfd785460062dc0ed8b70920ff269e6060f76b11.zip |
Add hardening+=bindnow to build options, per lintian.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 3b5e24ef..f8ad3c18 100755 --- a/debian/rules +++ b/debian/rules @@ -2,7 +2,8 @@ DEB_LDFLAGS_MAINT_APPEND := -Wl,-z,defs DEB_CFLAGS_MAINT_APPEND := $(shell getconf LFS_CFLAGS) -export DEB_LDFLAGS_MAINT_APPEND DEB_CFLAGS_MAINT_APPEND +DEB_BUILD_MAINT_OPTIONS := hardening=+bindnow +export DEB_LDFLAGS_MAINT_APPEND DEB_CFLAGS_MAINT_APPEND DEB_BUILD_MAINT_OPTIONS ifeq ($(shell dpkg-architecture -qDEB_BUILD_ARCH_OS),hurd) DEB_LDFLAGS_MAINT_APPEND += -lpthread endif |