Skip to content

Commit 83d823e

Browse files
committedMar 25, 2016
Enable all hardening buildflags.
Adds ld -z now & -fPIE -pie.
1 parent 8a133dd commit 83d823e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎debian/rules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
# This has to be exported to make some magic below work.
88
export DH_OPTIONS
99

10+
# Enable hardening build flags
11+
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
12+
1013
# These are used for cross-compiling and for saving the configure script
1114
# from having to guess our platform (since we know it already)
1215
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)

0 commit comments

Comments
 (0)
Please sign in to comment.