aboutsummaryrefslogtreecommitdiff
path: root/kerberos5/libexec/kadmind
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2014-06-08 17:29:31 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2014-06-08 17:29:31 +0000
commit864c53ead899f7838cd2e1cca3b485a4a82f5cdc (patch)
tree770fe42f243492477db77896e2564375cd017ad4 /kerberos5/libexec/kadmind
parent590d63632198eb31acebf50673f1568c2e8f3fda (diff)
In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.
This is currently an opt-in build flag. Once ASLR support is ready and stable it should changed to opt-out and be enabled by default along with ASLR. Each application Makefile uses opt-out to ensure that ASLR will be enabled by default in new directories when the system is compiled with PIE/ASLR. [2] Mark known build failures as NO_PIE for now. The only known runtime failure was rtld. [1] http://www.bsdcan.org/2014/schedule/events/452.en.html Submitted by: Shawn Webb <lattera@gmail.com> Discussed between: des@ and Shawn Webb [2]
Notes
Notes: svn path=/head/; revision=267233
Diffstat (limited to 'kerberos5/libexec/kadmind')
-rw-r--r--kerberos5/libexec/kadmind/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/kerberos5/libexec/kadmind/Makefile b/kerberos5/libexec/kadmind/Makefile
index f88ac2f1b330..898e429de0d5 100644
--- a/kerberos5/libexec/kadmind/Makefile
+++ b/kerberos5/libexec/kadmind/Makefile
@@ -15,6 +15,8 @@ LDADD= -lkadm5srv -lgssapi -lhdb -lkrb5 -lroken \
-lasn1 ${LIBVERS} -lcrypto -lcrypt ${LDAPLDADD}
LDFLAGS=${LDAPLDFLAGS}
+NO_PIE= yes
+
.include <bsd.prog.mk>
.PATH: ${KRB5DIR}/kadmin