ebuild: follow symbolic links in find_newer_filtered_fn 99/30599/2
authorDave Barach <dave@barachs.net>
Mon, 4 Jan 2021 15:52:44 +0000 (10:52 -0500)
committerFlorin Coras <florin.coras@gmail.com>
Tue, 5 Jan 2021 17:08:54 +0000 (17:08 +0000)
commit1b576e0aa08c575a4409b50dc71e8f51d231f199
treeb7a4431bea69c0436a2fb05413e0db6bae6ba98c
parente2e9fe5c5f62475577cf8931a8f75135ad292e6a
ebuild: follow symbolic links in find_newer_filtered_fn

Otherwise, changes in source code symbolically-linked into the
workspace will not be considered when deciding whether to invoke
e.g. Ninja.

This change is strongly preferable to asking people to remove
.mu_build_build_timestamp to force a Ninja run.

Deals reasonably gracefully with symbolic link loops, at least in
trivial cases: "find: File system loop detected"

Type: improvement

Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: I6666c84861de5e8b8aebcb94158f53526aded089
build-root/Makefile