diff options
author | Ruben Undheim <ruben.undheim@gmail.com> | 2018-10-13 12:40:32 +0200 |
---|---|---|
committer | Ruben Undheim <ruben.undheim@gmail.com> | 2018-10-13 12:40:32 +0200 |
commit | 565951f9c0545f9d912ef601cde0f1dfa266128f (patch) | |
tree | 3305c523770814ca96ff341bae62a9897fe8072e | |
parent | bf47bbbf746a196d725e8782207845410da735c9 (diff) |
Hardening enabled and only link as needed
-rwxr-xr-x | debian/rules | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index 7f69a7b..0050ed5 100755 --- a/debian/rules +++ b/debian/rules @@ -3,6 +3,11 @@ #export DH_VERBOSE=1 #export DH_OPTIONS=-v +export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + + LDFLAGS += -lcairo %: |