freebsd-dev/share
Val Packett da6620e495 mk: fix unnecessary library relinking with incremental builds
Initial libs such as csu are always built (.PHONY), and their
installation to WORLDTMP was causing all the subsequent libraries to
be considered out-of-date even when in reality they were not. Use
install -C more consistently everywhere to avoid unnecessarily
updating the mtimes in WORLDTMP, fixing this problem.

This cut down my no-change buildworld time from 30 to 15 seconds.

Fixes: https://lists.freebsd.org/pipermail/freebsd-current/2016-May/061481.html
TODO.1

Reviewed by: sjg
Sponsored by: https://www.patreon.com/valpackett
Differential Revision:  https://reviews.freebsd.org/D39980
2023-07-27 14:55:16 -07:00
..
colldef
colldef_unicode
ctypedef
dict
doc
dtrace spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
examples examples/kld/syscall: unbreak compilation 2023-06-18 05:52:01 +00:00
i18n Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
keys
man dtrace: Add WITH_DTRACE_ASAN 2023-07-27 16:07:34 -04:00
misc Remove perforce tools and references 2023-07-20 13:33:39 -04:00
mk mk: fix unnecessary library relinking with incremental builds 2023-07-27 14:55:16 -07:00
monetdef
monetdef_unicode
msgdef
msgdef_unicode
numericdef
numericdef_unicode
security
sendmail
skel
snmp
syscons spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
tabset
termcap
tests
timedef
vt Install spleen vt(4) fonts 2023-05-10 13:57:07 -04:00
zoneinfo tzsetup: add baseline file to control parsed zonetab contents 2023-04-23 10:32:02 +02:00
Makefile
Makefile.inc