mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-26 04:54:07 +01:00
Add a note to src/Makefile that explains that 'rm' runs twice because the
second invocation only needs to operate on files with the immutable flag set. Submitted by: arundel (via private email) (original version) Discussed on: -toolchain@ MFC after: 3 days
This commit is contained in:
parent
034235528f
commit
123ba50fdc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=227769
5
Makefile
5
Makefile
@ -185,7 +185,10 @@ buildworld: upgrade_checks
|
||||
# files with chflags set, so this unsets them and tries the 'rm' a
|
||||
# second time. There are situations where this target will be cleaning
|
||||
# some directories via more than one method, but that duplication is
|
||||
# needed to correctly handle all the possible situations.
|
||||
# needed to correctly handle all the possible situations. Removing all
|
||||
# files without the immutable flag set in the first 'rm' instance saves
|
||||
# time, because 'chflags' will need to operate on fewer files (with the
|
||||
# immutable flag set) afterwards.
|
||||
#
|
||||
BW_CANONICALOBJDIR:=${MAKEOBJDIRPREFIX}${.CURDIR}
|
||||
cleanworld:
|
||||
|
Loading…
Reference in New Issue
Block a user