]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
rtld-libc: fix incremental build
authorrlibby <rlibby@FreeBSD.org>
Sat, 19 Dec 2020 08:38:27 +0000 (08:38 +0000)
committerrlibby <rlibby@FreeBSD.org>
Sat, 19 Dec 2020 08:38:27 +0000 (08:38 +0000)
commitcaae510faf5bbce300040f36835362e0e37c298e
tree71451662e391f104c382bddac5d2e38f43dab941
parent42670ecd416c7382aae3a8848d457496c16a8499
rtld-libc: fix incremental build

ar cr is an update of an archive, not a creation of a new one.  During
incremental builds (e.g. with meta mode) the archive was not getting
cleaned, and so could retain now-deleted objects from previous builds.
Now, delete the archive before creating/updating it.

Reviewed by: arichardson, bdrewery, kib
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D27663
libexec/rtld-elf/rtld-libc/Makefile.inc