Allow to override build date with SOURCE_DATE_EPOCH
Allow to override build date with SOURCE_DATE_EPOCH
to make builds reproducible.
See https://reproducible-builds.org/ for why this is good and https://reproducible-builds.org/specs/source-date-epoch/ for the definition of this variable.
Without this patch, our xorg-x11-fonts build results would always vary.
This patch was done while working on reproducible builds for openSUSE, sponsored by the NLnet NGI0 fund.
Also: Use long long for timestamp diff to avoid integer overflows in the future
Merge request reports
Activity
assigned to @marge-bot
added 4 commits
-
910868fc...e3971be7 - 2 commits from branch
xorg/app:master
- 5fb8b615 - Use long long for timestamp diff
- 2a6a5574 - Allow to override build date with SOURCE_DATE_EPOCH
-
910868fc...e3971be7 - 2 commits from branch
mentioned in merge request !23 (merged)