From 864c53ead899f7838cd2e1cca3b485a4a82f5cdc Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Sun, 8 Jun 2014 17:29:31 +0000 Subject: 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 Discussed between: des@ and Shawn Webb [2] --- usr.bin/vacation/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr.bin/vacation') diff --git a/usr.bin/vacation/Makefile b/usr.bin/vacation/Makefile index 056f5764fa01..4f8690cf2605 100644 --- a/usr.bin/vacation/Makefile +++ b/usr.bin/vacation/Makefile @@ -32,6 +32,8 @@ DPADD+=${SENDMAIL_DPADD} LDADD+=${SENDMAIL_LDADD} LDFLAGS+=${SENDMAIL_LDFLAGS} +NO_PIE= yes + sm_os.h: ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h -- cgit v1.2.3