2012-01-03 16:16:12 +01:00
|
|
|
Index: bin/Makefile.in
|
|
|
|
===================================================================
|
|
|
|
--- bin/Makefile.in.orig
|
|
|
|
+++ bin/Makefile.in
|
|
|
|
@@ -23,4 +23,8 @@ SUBDIRS = named rndc dig dnssec tests to
|
2012-11-14 11:31:31 +01:00
|
|
|
check confgen @PYTHON_TOOLS@ @PKCS11_TOOLS@
|
2010-02-18 13:47:25 +01:00
|
|
|
TARGETS =
|
2006-12-19 00:15:14 +01:00
|
|
|
|
|
|
|
+EXT_CFLAGS = -fPIE
|
|
|
|
+
|
|
|
|
@BIND9_MAKE_RULES@
|
2010-02-18 13:47:24 +01:00
|
|
|
+
|
2010-02-18 13:47:25 +01:00
|
|
|
+LDFLAGS += -pie
|
2012-01-03 16:16:12 +01:00
|
|
|
Index: bin/dig/Makefile.in
|
|
|
|
===================================================================
|
|
|
|
--- bin/dig/Makefile.in.orig
|
|
|
|
+++ bin/dig/Makefile.in
|
|
|
|
@@ -67,8 +67,12 @@ HTMLPAGES = dig.html host.html nslookup.
|
2006-12-19 00:15:14 +01:00
|
|
|
|
|
|
|
MANOBJS = ${MANPAGES} ${HTMLPAGES}
|
|
|
|
|
|
|
|
+EXT_CFLAGS = -fPIE
|
|
|
|
+
|
|
|
|
@BIND9_MAKE_RULES@
|
|
|
|
|
|
|
|
+LDFLAGS += -pie
|
|
|
|
+
|
|
|
|
dig@EXEEXT@: dig.@O@ dighost.@O@ ${UOBJS} ${DEPLIBS}
|
2010-02-18 13:47:25 +01:00
|
|
|
export BASEOBJS="dig.@O@ dighost.@O@ ${UOBJS}"; \
|
|
|
|
${FINALBUILDCMD}
|
2012-01-03 16:16:12 +01:00
|
|
|
Index: bin/dnssec/Makefile.in
|
|
|
|
===================================================================
|
|
|
|
--- bin/dnssec/Makefile.in.orig
|
|
|
|
+++ bin/dnssec/Makefile.in
|
2012-11-14 11:31:31 +01:00
|
|
|
@@ -64,8 +64,12 @@ HTMLPAGES = dnssec-dsfromkey.html dnssec
|
2006-12-19 00:15:14 +01:00
|
|
|
|
|
|
|
MANOBJS = ${MANPAGES} ${HTMLPAGES}
|
|
|
|
|
|
|
|
+EXT_CFLAGS = -fPIE
|
|
|
|
+
|
|
|
|
@BIND9_MAKE_RULES@
|
|
|
|
|
|
|
|
+LDFLAGS += -pie
|
|
|
|
+
|
2009-02-06 20:40:10 +01:00
|
|
|
dnssec-dsfromkey@EXEEXT@: dnssec-dsfromkey.@O@ ${OBJS} ${DEPLIBS}
|
2010-02-18 13:47:25 +01:00
|
|
|
export BASEOBJS="dnssec-dsfromkey.@O@ ${OBJS}"; \
|
|
|
|
${FINALBUILDCMD}
|
2012-01-03 16:16:12 +01:00
|
|
|
Index: bin/nsupdate/Makefile.in
|
|
|
|
===================================================================
|
|
|
|
--- bin/nsupdate/Makefile.in.orig
|
|
|
|
+++ bin/nsupdate/Makefile.in
|
|
|
|
@@ -64,8 +64,12 @@ HTMLPAGES = nsupdate.html
|
2010-02-18 13:47:25 +01:00
|
|
|
|
|
|
|
MANOBJS = ${MANPAGES} ${HTMLPAGES}
|
2006-12-19 00:15:14 +01:00
|
|
|
|
|
|
|
+EXT_CFLAGS = -fPIE
|
|
|
|
+
|
|
|
|
@BIND9_MAKE_RULES@
|
2010-02-18 13:47:25 +01:00
|
|
|
|
2010-02-18 13:47:24 +01:00
|
|
|
+LDFLAGS += -pie
|
2010-02-18 13:47:25 +01:00
|
|
|
+
|
|
|
|
nsupdate.@O@: nsupdate.c
|
|
|
|
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
|
|
|
|
-DSESSION_KEYFILE=\"${localstatedir}/run/named/session.key\" \
|
2012-01-03 16:16:12 +01:00
|
|
|
Index: bin/rndc/Makefile.in
|
|
|
|
===================================================================
|
|
|
|
--- bin/rndc/Makefile.in.orig
|
|
|
|
+++ bin/rndc/Makefile.in
|
|
|
|
@@ -59,8 +59,12 @@ HTMLPAGES = rndc.html rndc.conf.html
|
2006-12-19 00:15:14 +01:00
|
|
|
|
|
|
|
MANOBJS = ${MANPAGES} ${HTMLPAGES}
|
|
|
|
|
|
|
|
+EXT_CFLAGS = -fPIE
|
|
|
|
+
|
|
|
|
@BIND9_MAKE_RULES@
|
|
|
|
|
|
|
|
+LDFLAGS += -pie
|
|
|
|
+
|
2010-02-18 13:47:25 +01:00
|
|
|
rndc.@O@: rndc.c
|
2006-12-19 00:15:14 +01:00
|
|
|
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
|
|
|
|
-DVERSION=\"${VERSION}\" \
|
2012-01-03 16:16:12 +01:00
|
|
|
Index: bin/check/Makefile.in
|
|
|
|
===================================================================
|
|
|
|
--- bin/check/Makefile.in.orig
|
|
|
|
+++ bin/check/Makefile.in
|
|
|
|
@@ -57,8 +57,12 @@ HTMLPAGES = named-checkconf.html named-c
|
2006-12-19 00:15:14 +01:00
|
|
|
|
|
|
|
MANOBJS = ${MANPAGES} ${HTMLPAGES}
|
|
|
|
|
|
|
|
+EXT_CFLAGS = -fPIE
|
|
|
|
+
|
|
|
|
@BIND9_MAKE_RULES@
|
|
|
|
|
|
|
|
+LDFLAGS += -pie
|
|
|
|
+
|
2010-02-18 13:47:25 +01:00
|
|
|
named-checkconf.@O@: named-checkconf.c
|
|
|
|
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
|
|
|
|
-DVERSION=\"${VERSION}\" \
|
2012-01-03 16:16:12 +01:00
|
|
|
Index: bin/named/Makefile.in
|
|
|
|
===================================================================
|
|
|
|
--- bin/named/Makefile.in.orig
|
|
|
|
+++ bin/named/Makefile.in
|
|
|
|
@@ -109,8 +109,12 @@ HTMLPAGES = named.html lwresd.html named
|
2010-02-18 13:47:24 +01:00
|
|
|
|
2010-02-18 13:47:25 +01:00
|
|
|
MANOBJS = ${MANPAGES} ${HTMLPAGES}
|
2006-12-19 00:15:14 +01:00
|
|
|
|
|
|
|
+EXT_CFLAGS = -fPIE
|
|
|
|
+
|
|
|
|
@BIND9_MAKE_RULES@
|
|
|
|
|
|
|
|
+LDFLAGS += -pie
|
|
|
|
+
|
2010-02-18 13:47:25 +01:00
|
|
|
main.@O@: main.c
|
2006-12-19 00:15:14 +01:00
|
|
|
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
|
|
|
|
-DVERSION=\"${VERSION}\" \
|
2012-01-03 16:16:12 +01:00
|
|
|
Index: bin/named/unix/Makefile.in
|
|
|
|
===================================================================
|
|
|
|
--- bin/named/unix/Makefile.in.orig
|
|
|
|
+++ bin/named/unix/Makefile.in
|
|
|
|
@@ -34,4 +34,6 @@ SRCS = os.c dlz_dlopen_driver.c
|
2006-12-19 00:15:14 +01:00
|
|
|
|
|
|
|
TARGETS = ${OBJS}
|
|
|
|
|
|
|
|
+EXT_CFLAGS = -fPIE
|
|
|
|
+
|
|
|
|
@BIND9_MAKE_RULES@
|
2012-01-03 16:16:12 +01:00
|
|
|
Index: bin/confgen/Makefile.in
|
|
|
|
===================================================================
|
|
|
|
--- bin/confgen/Makefile.in.orig
|
|
|
|
+++ bin/confgen/Makefile.in
|
|
|
|
@@ -64,8 +64,12 @@ MANOBJS = ${MANPAGES} ${HTMLPAGES}
|
2010-02-18 13:47:25 +01:00
|
|
|
|
|
|
|
UOBJS = unix/os.@O@
|
|
|
|
|
|
|
|
+EXT_CFLAGS = -fPIE
|
|
|
|
+
|
|
|
|
@BIND9_MAKE_RULES@
|
|
|
|
|
|
|
|
+LDFLAGS += -pie
|
|
|
|
+
|
|
|
|
rndc-confgen.@O@: rndc-confgen.c
|
|
|
|
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
|
|
|
|
-DRNDC_KEYFILE=\"${sysconfdir}/rndc.key\" \
|