Package: ecopcr / 1.0.1+dfsg-2

hardening.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Author: Andreas Tille <tille@debian.org>
Last-Update: Wed, 24 Jun 2015 19:24:02 +0200
Description: Propagate hardening options
 No idea why the lintian warning remains - the options are properly set IMHO

--- a/src/global.mk
+++ b/src/global.mk
@@ -2,7 +2,7 @@ LIBPATH= -Llibapat -LlibecoPCR -Llibther
 MAKEDEPEND = gcc -M $(CPPFLAGS) -o $*.d $<
 
 CC=gcc
-CFLAGS= -O3 -w
+CFLAGS+= -O3 -w
 
 default: all
 
@@ -14,4 +14,4 @@ default: all
 	@sed 's/\($*\)\.o[ :]*/\1.o $@ : /g' < $*.d > $@; \
 	rm -f $*.d; [ -s $@ ] || rm -f $@
 
-include $(SRCS:.c=.P)
\ No newline at end of file
+include $(SRCS:.c=.P)