]> code.ossystems Code Review - openembedded-core.git/commit
perl: Set build date to SOURCE_DATE_EPOCH
authorJoshua Watt <jpewhacker@gmail.com>
Fri, 31 May 2019 13:59:53 +0000 (08:59 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 31 May 2019 21:12:38 +0000 (22:12 +0100)
commit0ab44c72d0fb9b1d110ba975273b520cea5bf29f
tree4cb02a56eefa098c2f9b8a27e8dbed173e5d3fe7
parent0384622f72a6c0bd8225cf06f692340fdef67d4a
perl: Set build date to SOURCE_DATE_EPOCH

Perl uses an internal #define called PERL_BUILD_DATE as the string for
the date when perl was built. If undefined, it defaults to using
__DATE__ and __TIME__, which is not reproducible. If SOURCE_DATE_EPOCH
is set at do_configure time, use it to generate a reproducible string
for PERL_BUILD_DATE.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/perl-sanity/perl_5.28.2.bb