svn commit: r337487 - stable/11/share/mk
Bryan Drewery
bdrewery at FreeBSD.org
Wed Aug 8 18:55:33 UTC 2018
Author: bdrewery
Date: Wed Aug 8 18:55:32 2018
New Revision: 337487
URL: https://svnweb.freebsd.org/changeset/base/337487
Log:
MFC r322565,r323323:
r322565:
Use -S for library installations except for -DNO_ROOT builds.
r323323:
Tweak comment for install -S usage since it does not impact the build.
Modified:
stable/11/share/mk/bsd.lib.mk
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/share/mk/bsd.lib.mk
==============================================================================
--- stable/11/share/mk/bsd.lib.mk Wed Aug 8 18:54:05 2018 (r337486)
+++ stable/11/share/mk/bsd.lib.mk Wed Aug 8 18:55:32 2018 (r337487)
@@ -319,6 +319,11 @@ _EXTRADEPEND:
.if !defined(NO_FSCHG)
SHLINSTALLFLAGS+= -fschg
.endif
+.endif
+# Install libraries with -S to avoid risk of modifying in-use libraries when
+# installing to a running system. It is safe to avoid this for NO_ROOT builds
+# that are only creating an image.
+.if !defined(NO_SAFE_LIBINSTALL) && !defined(NO_ROOT)
SHLINSTALLFLAGS+= -S
.endif
More information about the svn-src-all
mailing list