diff options
author | Paride Legovini <pl@ninthfloor.org> | 2017-07-28 10:45:56 +0200 |
---|---|---|
committer | Paride Legovini <pl@ninthfloor.org> | 2017-07-28 10:45:56 +0200 |
commit | a922b260abf44a15715100ceb420d11b837cf00f (patch) | |
tree | eea782a4b6ca296dffb4e2783f3414e2c9daaeba /debian | |
parent | 99926b6f82140f90fb01653dd163a3bb961956d2 (diff) |
Add options for dpkg-buildflags in d/rules
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/rules | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 098338c..3ffcf82 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,9 @@ #!/usr/bin/make -f -export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +# https://wiki.debian.org/HardeningWalkthrough +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_CFLAGS_MAINT_APPEND = -Os -Wall -pedantic +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed %: dh $@ |