[pentobi] 01/01: d/rules: Enable all hardening flags.

Juhani Numminen jsonic-guest at moszumanska.debian.org
Tue May 17 19:15:02 UTC 2016


This is an automated email from the git hooks/post-receive script.

jsonic-guest pushed a commit to branch master
in repository pentobi.

commit cc69b7d38d0a50f3b191e46d9afc28290b5639a8
Author: Juhani Numminen <juhaninumminen0 at gmail.com>
Date:   Tue May 17 22:08:21 2016 +0300

    d/rules: Enable all hardening flags.
---
 debian/changelog | 3 ++-
 debian/rules     | 6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ee3baa1..9779d66 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,8 +8,9 @@ pentobi (12.0-1) unstable; urgency=medium
       pentobi-kde-thumbnailer; removed Enhances.
   * d/copyright: Update copyright years.
   * d/patches/desktop-semicolon.patch: Add a missing ; in desktop file.
+  * d/rules: Enable all hardening flags.
 
- -- Juhani Numminen <juhaninumminen0 at gmail.com>  Sun, 08 May 2016 22:57:38 +0300
+ -- Juhani Numminen <juhaninumminen0 at gmail.com>  Tue, 17 May 2016 21:41:19 +0300
 
 pentobi (11.0-1) unstable; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index 4fd58b0..0bc53aa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,13 @@
 #!/usr/bin/make -f
 
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
 # Optimize with O3 to make the computationally expensive higher levels faster.
 ifeq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
   export DEB_CXXFLAGS_MAINT_APPEND = -O3
 endif
 
-# Avoid dependencies on unused libraries.
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
-
 %:
 	dh $@ --parallel
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/pentobi.git



More information about the Pkg-games-commits mailing list