Improve elfcap.chk CPPFLAGS
When we started with the design of elfcap.chk, it leveraged CPPFLAGS.native. Unfortunately, in stock situations for reasons that we need to separately sort out, CPPFLAGS.native will actually include an include to the proto area in some cases, particularly when you don't have a specific adjunct.
The original reason this didn't end up in the tools sgs build is that it would have made it much harder to rebuild with the updated elfcap.c pieces. This is why we ended up putting it in cmd/sgs so it's getting rebuilt and regularly rebuilt. A reasonable way to improve this is to through and point to the tools sgs proto area. This means that if there are updates to auxv.h, we'll need to go through and update that again. However, it does mean that changes to elfcap.c/h it'll still be rebuilt and checked.
Updated by Electric Monk 2 months ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 73ef486937f03be7d079065dda822f13cc8f6470 Author: Robert Mustacchi <email@example.com> Date: 2022-09-20T14:52:49.000Z 14969 Improve elfcap.chk CPPFLAGS Reviewed by: Gordon Ross <firstname.lastname@example.org> Reviewed by: Dan McDonald <email@example.com> Approved by: Joshua M. Clulow <firstname.lastname@example.org>