summaryrefslogtreecommitdiffstats
path: root/bin/Makefile.inc
diff options
context:
space:
mode:
authorgordon <gordon@FreeBSD.org>2003-08-17 08:37:47 +0000
committergordon <gordon@FreeBSD.org>2003-08-17 08:37:47 +0000
commitb9d102ab04d00715a3b74297e70a230768bdf504 (patch)
treec7f2b0f75fcbe8149ec7be6176e4b4137664a7fa /bin/Makefile.inc
parent5901302929953301503368d4bf7465dd4ec142e8 (diff)
downloadFreeBSD-src-b9d102ab04d00715a3b74297e70a230768bdf504.zip
FreeBSD-src-b9d102ab04d00715a3b74297e70a230768bdf504.tar.gz
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.
Diffstat (limited to 'bin/Makefile.inc')
-rw-r--r--bin/Makefile.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/Makefile.inc b/bin/Makefile.inc
index e84330e..d329285 100644
--- a/bin/Makefile.inc
+++ b/bin/Makefile.inc
@@ -2,5 +2,8 @@
# $FreeBSD$
BINDIR?= /bin
-NOSHARED?= YES
WARNS?= 6
+
+.if !defined (WITH_DYNAMICROOT)
+NOSHARED?= YES
+.endif
OpenPOWER on IntegriCloud