chiark
/
gitweb
/
~ianmdlvl
/
xtrlock.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d098687
)
Add hardening flags
author
Matthew Vernon
<matthew@debian.org>
Sun, 5 Jan 2014 16:48:20 +0000
(16:48 +0000)
committer
Matthew Vernon
<matthew@debian.org>
Sun, 5 Jan 2014 16:48:20 +0000
(16:48 +0000)
debian/rules
patch
|
blob
|
history
diff --git
a/debian/rules
b/debian/rules
index dad6703278224ebabaaa90d0f9c0bf8929b2f50d..0c4467816182b0295523feac4965dc868f0193e2 100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-7,7
+7,11
@@
package=xtrlock
arch=$(shell dpkg --print-architecture)
STRIP=strip
-CFLAGS=-O2 -g -DSHADOW_PWD
+DPKG_EXPORT_BUILDFLAGS = 1
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+include /usr/share/dpkg/buildflags.mk
+
+CFLAGS+=-DSHADOW_PWD
build:
$(checkdir)