File: hardening.patch

package info (click to toggle)
seqtk 1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 152 kB
  • ctags: 123
  • sloc: ansic: 1,425; makefile: 18
file content (18 lines) | stat: -rw-r--r-- 428 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Andreas Tille <tille@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*