aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/Makefile.inc
diff options
context:
space:
mode:
authorGordon Tetlow <gordon@FreeBSD.org>2003-08-17 08:37:47 +0000
committerGordon Tetlow <gordon@FreeBSD.org>2003-08-17 08:37:47 +0000
commit442afd046f061ae77b9aee85361076428640754e (patch)
treec7f2b0f75fcbe8149ec7be6176e4b4137664a7fa /sbin/Makefile.inc
parent41d8423f714369ea23708399e02792045f9c3f56 (diff)
downloadsrc-442afd046f061ae77b9aee85361076428640754e.tar.gz
src-442afd046f061ae77b9aee85361076428640754e.zip
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.
Notes
Notes: svn path=/head/; revision=119018
Diffstat (limited to 'sbin/Makefile.inc')
-rw-r--r--sbin/Makefile.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/Makefile.inc b/sbin/Makefile.inc
index 885e593448fd..d6cb5b5d40f9 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