Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
mkbuildinf.pl: improve reproducible builds #4639
If the environment contains SOURCE_DATE_EPOCH, generate output such as:
#define DATE "built on: reproducible build, date unspecified"
instead of the usual, such as:
#define DATE "built on: Tue Oct 24 17:20:35 2017"
The message is consistent with other messages if SOURCE_DATE_EPOCH
Signed-off-by: Juro Bystricky firstname.lastname@example.org
open-embedded splits openssl into several packages, some of them are affected by the generated buildinf.h file,
The requirement is actually fairly weak: we need to be reproducible only when invoked with the same compiler and configuration flags on the same platform and the same source tree (i.e., git commit), on different hosts and at different times. https://wiki.debian.org/ReproducibleBuilds/Howto does not even require that we are reproducible when built at a different path in the filesystem, though I don't know how universal that relaxation is.