Package: prctl / 1.6-1

debian_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
24
Description: Update Makefile.in to comply with hardening rules
 Makefile.in defines LDFLAGS incorrectly and leaves CPPFLAGS out completely.
 This causes resulting binaries to not be compiled with the proper hardening
 flags. This patch updates Makefile.in until upstream fixes it.
Author: Khalid Aziz <khalid@debian.org>
Forwarded: no
Applied-Upstream: no
Last-Update: 2014-02-27
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Makefile.in
+++ b/Makefile.in
@@ -29,9 +29,10 @@ INSTALL_DATA = @INSTALL_DATA@
 
 DEFS = @DEFS@
 LIBS = @LIBS@
+CPPFLAGS = @CPPFLAGS@
 CFLAGS = @CFLAGS@
 # If you want debug on by default, use: CFLAGS="-g" ./configure
-LDFLAGS = $(CFLAGS)
+LDFLAGS = @LDFLAGS@
 
 prefix = @prefix@
 exec_prefix = $(prefix)