From 989e2c600051059839eb88abfc343a905caf37eb Mon Sep 17 00:00:00 2001 From: bdrewery 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] --- sbin/rcorder/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sbin/rcorder') diff --git a/sbin/rcorder/Makefile b/sbin/rcorder/Makefile index b71aa4b..dc48b4c 100644 --- a/sbin/rcorder/Makefile +++ b/sbin/rcorder/Makefile @@ -14,6 +14,8 @@ CFLAGS+= -DORDER -I. SRCS+= util.h CLEANFILES+= util.h +NO_PIE= yes + util.h: ln -sf ${.CURDIR}/../../lib/libutil/libutil.h ${.TARGET} -- cgit v1.1