[nco] 02/04: Enable all buildflags, except PIE (causes build failure).

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Thu May 5 20:46:52 UTC 2016


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

sebastic pushed a commit to branch master
in repository nco.

commit a89bc8730a50395ffdfb432d104a27a10fed52c9
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Thu May 5 22:19:11 2016 +0200

    Enable all buildflags, except PIE (causes build failure).
---
 debian/changelog         | 1 +
 debian/lintian-overrides | 3 +++
 debian/rules             | 4 ++++
 3 files changed, 8 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 92379f8..00e2955 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 nco (4.5.5-2) UNRELEASED; urgency=medium
 
   * Bump Standards-Version to 3.9.8, no changes.
+  * Enable all buildflags, except PIE (causes build failure).
 
  -- Bas Couwenberg <sebastic at debian.org>  Thu, 05 May 2016 22:11:15 +0200
 
diff --git a/debian/lintian-overrides b/debian/lintian-overrides
new file mode 100644
index 0000000..1a038b7
--- /dev/null
+++ b/debian/lintian-overrides
@@ -0,0 +1,3 @@
+# PIE breaks the build
+nco: hardening-no-pie *
+
diff --git a/debian/rules b/debian/rules
index befa05a..9fe8d3a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,9 @@
 #!/usr/bin/make -f
 
+# Enable hardening build flags, except:
+#  pie: causes build failure
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
+
 # 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