mirror of
https://repo.or.cz/socat.git
synced 2025-07-14 23:33:23 +00:00
Debian Bug 764251: Set the build timestamp to a deterministic time
This commit is contained in:
parent
6f6d7ccb86
commit
3ee5ac5275
4 changed files with 14 additions and 1 deletions
|
@ -1863,4 +1863,11 @@ if test -n "$WITH_FIPS"; then
|
|||
fi
|
||||
AC_SUBST(FIPSLD_CC)
|
||||
|
||||
# allow BUILD_DATE to be externally set for build reproducibility
|
||||
if test "$BUILD_DATE"; then
|
||||
AC_DEFINE_UNQUOTED(BUILD_DATE, ["$BUILD_DATE"])
|
||||
else
|
||||
AC_DEFINE(BUILD_DATE, [__DATE__" "__TIME__])
|
||||
fi
|
||||
|
||||
AC_OUTPUT(Makefile)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue