]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
rtld-libc: fix incremental build
authorRyan Libby <rlibby@FreeBSD.org>
Sat, 19 Dec 2020 08:38:27 +0000 (08:38 +0000)
committerRyan Libby <rlibby@FreeBSD.org>
Sat, 19 Dec 2020 08:38:27 +0000 (08:38 +0000)
commit198a0e58ec9c0a53eed0c8782df47915f29cd8a4
tree71451662e391f104c382bddac5d2e38f43dab941
parent54a837c8cca109ad0d7ecb4b93379086f6f49275
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