| |
| |
| @@ -100,8 +100,12 @@ HTMLPAGES = named.html lwresd.html named |
| |
| MANOBJS = ${MANPAGES} ${HTMLPAGES} |
| |
| +EXT_CFLAGS = -fpie |
| + |
| @BIND9_MAKE_RULES@ |
| |
| +LDFLAGS += -pie -Wl,-z,relro,-z,now,-z,nodlopen,-z,noexecstack |
| + |
| main.@O@: main.c |
| ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \ |
| -DVERSION=\"${VERSION}\" \ |
| diff -up bind-9.5.0b2/bin/named/unix/Makefile.in.pie bind-9.5.0b2/bin/named/unix/Makefile.in |
| |
| |
| @@ -19,6 +19,8 @@ srcdir = @srcdir@ |
| VPATH = @srcdir@ |
| top_srcdir = @top_srcdir@ |
| |
| +EXT_CFLAGS = -fpie |
| + |
| @BIND9_MAKE_INCLUDES@ |
| |
| CINCLUDES = -I${srcdir}/include -I${srcdir}/../include \ |