Fix changelog version.
[ocproxy-debian.git] / debian / patches / 0001-add-hardening.patch
bloba2c8636ff2c96e5ee199ce23890f1c21f228b7d9
1 From: David Edmondson <dme@dme.org>
2 Date: Tue, 20 Nov 2012 13:49:32 +0000
3 Subject: =?UTF-8?q?add-hardening=0AAdd=20the=20standard=20Debian=20compiler/?=
4 =?UTF-8?q?linker=20flags=20to=20enable=20hardening.?=
6 ---
7 contrib/ports/unix/proj/ocproxy/Makefile | 4 ++++
8 1 file changed, 4 insertions(+)
10 diff --git a/contrib/ports/unix/proj/ocproxy/Makefile b/contrib/ports/unix/proj/ocproxy/Makefile
11 index dcc546b..0a216f1 100644
12 --- a/contrib/ports/unix/proj/ocproxy/Makefile
13 +++ b/contrib/ports/unix/proj/ocproxy/Makefile
14 @@ -30,6 +30,10 @@
15 # Derived from simhost/Makefile.
18 +export DEB_BUILD_MAINT_OPTIONS = hardening=+all
19 +DPKG_EXPORT_BUILDFLAGS = 1
20 +include /usr/share/dpkg/buildflags.mk
22 CCDEP=gcc
23 CC=gcc