Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The USER_UID and DUMPCAP_GROUP variables are recursively assigned, but contain shell execution. It's not terribly expensive execution, but these variables are substituted into every compile line, so they're executed dozens of times, even though their values will never change. Move them into immediate assignment (which makes DUMPCAP_GROUP a bit more complex to allow it to be overridden). This speeds up near-do-nothing runs like 'make help' so that they take only about 1/10s now, which is acceptably fast. Signed-off-by: Nick Alcock <nick.alcock@oracle.com> Reviewed-by: Kris Van Hees <kris.van.hees@oracle.com>
- Loading branch information