Closed chrisridd closed 2 years ago
Hm, this is actually executing git
every time it runs cc
isn't it? That's sub-optimal.
It might also be better moving the CONFIGVARS
changes down to fvdi/engine/Makefile
as only fvdi/engine/startup.c
cares about GIT_COMMIT
.
Version numbers aren't too helpful identifying a build, especially if the version doesn't change for a few years.
Adding the git commit hash is a common solution: