Skip to content

Make lib/dns/gen.c compatible with reproducible builds.

Ondřej Surý requested to merge ondrej/reproducible-build into master

The gen.c will now use SOURCE_DATE_EPOCH[1] if found in environment to make the build more reproducible build friendly.

Note: gcc will use SOURCE_DATE_EPOCH for setting __DATE__, __TIME__ and __TIMESTAMP__, so there no need to do anything about the variables now.

  1. https://reproducible-builds.org/specs/source-date-epoch/
Edited by Ondřej Surý

Merge request reports