Make lib/dns/gen.c compatible with reproducible builds.
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.
Edited by Ondřej Surý