[med-svn] [seqtk] 04/05: Propagate hardening options

Andreas Tille tille at debian.org
Sat Feb 1 14:34:50 UTC 2014


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

tille pushed a commit to branch master
in repository seqtk.

commit 29e4c9dacc54cec9ab453eca77cab9a09fc89039
Author: Andreas Tille <tille at debian.org>
Date:   Sat Feb 1 14:28:45 2014 +0100

    Propagate hardening options
---
 debian/patches/hardening.patch | 18 ++++++++++++++++++
 debian/patches/series          |  1 +
 2 files changed, 19 insertions(+)

diff --git a/debian/patches/hardening.patch b/debian/patches/hardening.patch
new file mode 100644
index 0000000..321c39f
--- /dev/null
+++ b/debian/patches/hardening.patch
@@ -0,0 +1,18 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Changed: Sat, 01 Feb 2014 13:50:28 +0100
+Description: Propagate hardening options
+
+
+--- a/Makefile
++++ b/Makefile
+@@ -1,8 +1,8 @@
+ CC=gcc
+-CFLAGS=-g -Wall -O2
++CFLAGS+=-g -Wall -O2
+ 
+ seqtk:seqtk.c khash.h kseq.h
+-		$(CC) $(CFLAGS) seqtk.c -o $@ -lz -lm
++		$(CC) $(CFLAGS) seqtk.c -o $@ -lz -lm $(LDFLAGS)
+ 
+ clean:
+ 		rm -fr gmon.out *.o ext/*.o a.out seqtk *~ *.a *.dSYM session*
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..814900f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+hardening.patch

-- 
Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/seqtk.git



More information about the debian-med-commit mailing list