|
|
e3a844a |
diff -up dhcp-4.1.1-P1/client/Makefile.am.PIE-RELRO dhcp-4.1.1-P1/client/Makefile.am
|
|
|
e3a844a |
--- dhcp-4.1.1-P1/client/Makefile.am.PIE-RELRO 2010-09-03 16:52:34.000000000 +0200
|
|
|
e3a844a |
+++ dhcp-4.1.1-P1/client/Makefile.am 2010-09-03 16:54:45.193275762 +0200
|
|
|
e3a844a |
@@ -6,6 +6,8 @@ dhclient_SOURCES = clparse.c dhclient.c
|
|
|
e3a844a |
scripts/solaris scripts/openwrt
|
|
|
e3a844a |
dhclient_LDADD = ../common/libdhcp.a ../minires/libres.a \
|
|
|
e3a844a |
../omapip/libomapi.a ../dst/libdst.a $(CAPNG_LDADD)
|
|
|
e3a844a |
+dhclient_LDFLAGS = -pie -Wl,-z,relro -Wl,-z,now
|
|
|
e3a844a |
+
|
|
|
e3a844a |
man_MANS = dhclient.8 dhclient-script.8 dhclient.conf.5 dhclient.leases.5
|
|
|
e3a844a |
EXTRA_DIST = $(man_MANS)
|
|
|
e3a844a |
|
|
|
e3a844a |
diff -up dhcp-4.1.1-P1/relay/Makefile.am.PIE-RELRO dhcp-4.1.1-P1/relay/Makefile.am
|
|
|
e3a844a |
--- dhcp-4.1.1-P1/relay/Makefile.am.PIE-RELRO 2008-06-13 02:55:53.000000000 +0200
|
|
|
e3a844a |
+++ dhcp-4.1.1-P1/relay/Makefile.am 2010-09-03 16:54:40.680276341 +0200
|
|
|
e3a844a |
@@ -3,6 +3,8 @@ AM_CPPFLAGS = -DLOCALSTATEDIR='"@localst
|
|
|
e3a844a |
sbin_PROGRAMS = dhcrelay
|
|
|
e3a844a |
dhcrelay_SOURCES = dhcrelay.c
|
|
|
e3a844a |
dhcrelay_LDADD = ../common/libdhcp.a ../omapip/libomapi.a ../dst/libdst.a ../minires/libres.a
|
|
|
e3a844a |
+dhcrelay_LDFLAGS = -pie -Wl,-z,relro -Wl,-z,now
|
|
|
e3a844a |
+
|
|
|
e3a844a |
man_MANS = dhcrelay.8
|
|
|
e3a844a |
EXTRA_DIST = $(man_MANS)
|
|
|
e3a844a |
|
|
|
e3a844a |
diff -up dhcp-4.1.1-P1/server/Makefile.am.PIE-RELRO dhcp-4.1.1-P1/server/Makefile.am
|
|
|
e3a844a |
--- dhcp-4.1.1-P1/server/Makefile.am.PIE-RELRO 2010-09-03 16:52:33.014269279 +0200
|
|
|
e3a844a |
+++ dhcp-4.1.1-P1/server/Makefile.am 2010-09-03 16:54:37.354284369 +0200
|
|
|
e3a844a |
@@ -9,6 +9,7 @@ dhcpd_SOURCES = dhcpd.c dhcp.c bootp.c c
|
|
|
e3a844a |
dhcpd_CFLAGS = $(LDAP_CFLAGS) $(LDAPSSL_CFLAGS)
|
|
|
e3a844a |
dhcpd_LDADD = ../common/libdhcp.a ../omapip/libomapi.a ../minires/libres.a \
|
|
|
e3a844a |
../dhcpctl/libdhcpctl.a ../dst/libdst.a $(LDAP_LIBS)
|
|
|
e3a844a |
+dhcpd_LDFLAGS = -pie -Wl,-z,relro -Wl,-z,now
|
|
|
e3a844a |
|
|
|
e3a844a |
man_MANS = dhcpd.8 dhcpd.conf.5 dhcpd.leases.5
|
|
|
e3a844a |
EXTRA_DIST = $(man_MANS)
|