[med-svn] [clustalx] 04/05: Hardening

Andreas Tille tille at debian.org
Fri Dec 4 10:11:41 UTC 2015


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

tille pushed a commit to branch master
in repository clustalx.

commit 07aa6a66b7d4c8e28bc2e60ee10ae2df012edaf7
Author: Andreas Tille <tille at debian.org>
Date:   Fri Dec 4 11:10:29 2015 +0100

    Hardening
---
 debian/changelog | 1 +
 debian/rules     | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index dd60e13..8f44660 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ clustalx (2.1+lgpl-4) UNRELEASED; urgency=medium
   * successful build with gcc-5
     Closes: #793226
   * Fix spelling
+  * Hardening
 
  -- Andreas Tille <tille at debian.org>  Fri, 04 Dec 2015 09:44:24 +0100
 
diff --git a/debian/rules b/debian/rules
index 65d8c8a..c6e859b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,10 @@
 
 override_dh_auto_configure:
 	qmake-qt4
+	# did not found a better way to push hardening flags into Makefile
+	sed -i -e "s/CFLAGS *= .*/& $(CFLAGS)/" \
+	       -e "s/CXXFLAGS *= .*/& $(CXXFLAGS)/" \
+	       -e "s/LFLAGS *= .*/& $(LDFLAGS)/" Makefile
 
 override_dh_clean:
 	$(RM) moc_*

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/clustalx.git



More information about the debian-med-commit mailing list