defs.mk: Avoid recaching stale variable values #57
Loading…
Reference in a new issue
No description provided.
Delete branch "jan/fix/20260811-defs-mk-disable-build-pkg-config"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
cache.mk: Avoid recaching stale variable values
If $(CACHE_PROJECT_MK) AKA .cache-project.mk already exists but needs to be remade because of dependencies, it is included, its content read, then the content cached again to the same file. That way stale variables can leak into the refreshed cache.
This commit fixes the situation by removing it, then invoking make again to remake it, thereby clearing the variable database and forcing make to fill the variables afresh.
defs.mk: Disable BUILD_PKG_CONFIGto defs.mk: Avoid recaching stale variable values