From b9d102ab04d00715a3b74297e70a230768bdf504 Mon Sep 17 00:00:00 2001 From: gordon Date: Sun, 17 Aug 2003 08:37:47 +0000 Subject: Stage 4 of dynamically linked root support. Add a big knob, WITH_DYNAMICROOT, which will toggle the generation of dynamically-linked binaries for installation in /bin and /sbin. It is currently off, meaning that /bin and /sbin are still statically linked by default. If something goes wrong (which I hope doesn't), this is what /rescue is all about. Please do not try to use WITH_DYNAMICROOT and NO_RESCUE to save space or some other equally silly reason. If you do and end up having problems, you have been warned. --- sbin/Makefile.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sbin') diff --git a/sbin/Makefile.inc b/sbin/Makefile.inc index 885e593..d6cb5b5 100644 --- a/sbin/Makefile.inc +++ b/sbin/Makefile.inc @@ -2,5 +2,8 @@ # $FreeBSD$ BINDIR?= /sbin -NOSHARED?= YES WARNS?= 2 + +.if !defined (WITH_DYNAMICROOT) +NOSHARED?= YES +.endif -- cgit v1.1