[med-svn] [dialign-t] 01/06: enable full hardening
Sascha Steinbiss
satta at debian.org
Sat Dec 17 11:58:21 UTC 2016
This is an automated email from the git hooks/post-receive script.
satta pushed a commit to branch master
in repository dialign-t.
commit c9d7d6a4dd1bfa879bfd8a02f5290139d12adfca
Author: Sascha Steinbiss <satta at debian.org>
Date: Sat Dec 17 11:47:55 2016 +0000
enable full hardening
---
debian/changelog | 4 ++++
debian/patches/hardening.patch | 11 ++++++++++-
debian/rules | 1 +
3 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index f629553..3c98223 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,12 @@
dialign-t (1.0.2-9) UNRELEASED; urgency=medium
+ [ Andreas Tille ]
* move packaging from SVN to Git
* cme fix dpkg-control
+ [ Sascha Steinbiss ]
+ * Enable full hardening.
+
-- Andreas Tille <tille at debian.org> Thu, 03 Nov 2016 19:31:49 +0100
dialign-t (1.0.2-8) unstable; urgency=medium
diff --git a/debian/patches/hardening.patch b/debian/patches/hardening.patch
index c0fb73c..41b7043 100644
--- a/debian/patches/hardening.patch
+++ b/debian/patches/hardening.patch
@@ -4,7 +4,16 @@ Description: Propagate hardening options
--- a/source/Makefile
+++ b/source/Makefile
-@@ -35,5 +35,5 @@ museq: $(OBJ)
+@@ -8,7 +8,7 @@
+ # THIS IS FOR THE OPTIMIZED ONE
+ #CPPFLAGS=-g
+ #CPPFLAGS=-O3 -march=i686 -funroll-loops
+-CPPFLAGS=-O3 -funroll-loops $(SSEFLAGS)
++CPPFLAGS+=-O3 -funroll-loops $(SSEFLAGS)
+ #CPPFLAGS=-march=athlon-mp -g -O0 -Wall -D_USE_XOPEN -D__unix__
+
+ OBJ_DIR=.
+@@ -35,5 +35,5 @@
rm -f $(TARGET)/$@
$(CC) -o $(TARGET)/$@ \
$(OBJ) \
diff --git a/debian/rules b/debian/rules
index fbe97aa..4ea71d9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,7 @@
SRCDIR=$(CURDIR)/source
export SSEFLAGS := $(shell if [ `dpkg-architecture -qDEB_BUILD_ARCH` = amd64 -o `dpkg-architecture -qDEB_BUILD_ARCH` = i386 ] ; then echo "-mfpmath=sse -msse -mmmx" ; fi)
+export DEB_BUILD_MAINT_OPTIONS += hardening=+all
%:
dh $@ --sourcedirectory=$(SRCDIR) --parallel
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/dialign-t.git
More information about the debian-med-commit
mailing list