[nco] 04/06: Enable PIE hardening buildflags.

Bas Couwenberg sebastic at debian.org
Fri May 26 21:01:01 UTC 2017


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

sebastic pushed a commit to branch master
in repository nco.

commit a161e97073f742accc09c741387a7dcf99861bb5
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri May 26 22:42:13 2017 +0200

    Enable PIE hardening buildflags.
---
 debian/changelog         | 1 +
 debian/lintian-overrides | 3 ---
 debian/rules             | 5 ++---
 3 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c689c22..2b0a04c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 nco (4.6.7-1) UNRELEASED; urgency=medium
 
   * New upstream release.
+  * Enable PIE hardening buildflags.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 26 May 2017 22:39:42 +0200
 
diff --git a/debian/lintian-overrides b/debian/lintian-overrides
index 7c150d4..41a6de8 100644
--- a/debian/lintian-overrides
+++ b/debian/lintian-overrides
@@ -1,6 +1,3 @@
-# PIE breaks the build
-nco: hardening-no-pie *
-
 # False positive, string not included in source
 nco: spelling-error-in-binary usr/lib/nco/libnco-*.so ot to
 
diff --git a/debian/rules b/debian/rules
index fe1f420..dae9e00 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,7 @@
 #!/usr/bin/make -f
 
-# Enable hardening build flags, except:
-#  pie: causes build failure
-export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
+# Enable hardening build flags
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 # Use custom automake command to prevent autoreconf failure
 export AUTOMAKE = ./debian/automake.sh

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



More information about the Pkg-grass-devel mailing list