Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Aug 2018 18:55:33 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r337487 - stable/11/share/mk
Message-ID:  <201808081855.w78ItXhK044895@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808081855.w78ItXhK044895>