]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - bind/patches/bind-9.5-PIE.patch
aiccu: Drop package
[people/arne_f/ipfire-3.x.git] / bind / patches / bind-9.5-PIE.patch
1 --- bind-9.5.0b2/bin/named/Makefile.in.pie 2008-02-11 17:21:47.000000000 +0100
2 +++ bind-9.5.0b2/bin/named/Makefile.in 2008-02-11 17:22:10.000000000 +0100
3 @@ -100,8 +100,12 @@ HTMLPAGES = named.html lwresd.html named
4
5 MANOBJS = ${MANPAGES} ${HTMLPAGES}
6
7 +EXT_CFLAGS = -fpie
8 +
9 @BIND9_MAKE_RULES@
10
11 +LDFLAGS += -pie -Wl,-z,relro,-z,now,-z,nodlopen,-z,noexecstack
12 +
13 main.@O@: main.c
14 ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
15 -DVERSION=\"${VERSION}\" \
16 diff -up bind-9.5.0b2/bin/named/unix/Makefile.in.pie bind-9.5.0b2/bin/named/unix/Makefile.in
17 --- bind-9.5.0b2/bin/named/unix/Makefile.in.pie 2008-02-11 17:22:21.000000000 +0100
18 +++ bind-9.5.0b2/bin/named/unix/Makefile.in 2008-02-11 17:23:00.000000000 +0100
19 @@ -19,6 +19,8 @@ srcdir = @srcdir@
20 VPATH = @srcdir@
21 top_srcdir = @top_srcdir@
22
23 +EXT_CFLAGS = -fpie
24 +
25 @BIND9_MAKE_INCLUDES@
26
27 CINCLUDES = -I${srcdir}/include -I${srcdir}/../include \