summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorChris Lamb <lamby@debian.org>2018-02-02 11:20:58 +0000
committerNikita Popov <nikita.ppv@gmail.com>2018-02-02 22:31:17 +0100
commita694433bffb766be57bcbe203113160e42453357 (patch)
tree092a59ad5f554b4c6b531c653e43d5358f463091 /configure.in
parentb1ee215c6937115a63d27d2bf4d69f57f7451815 (diff)
downloadphp-git-a694433bffb766be57bcbe203113160e42453357.tar.gz
Fix SOURCE_DATE_EPOCH to not vary on timezones
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 791f213a65..23188b021d 100644
--- a/configure.in
+++ b/configure.in
@@ -1286,7 +1286,7 @@ EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PHP_LDFLAGS"
EXTRA_LDFLAGS_PROGRAM="$EXTRA_LDFLAGS_PROGRAM $PHP_LDFLAGS"
# SOURCE_DATE_EPOCH for reproducible builds https://reproducible-builds.org/specs/source-date-epoch/
-PHP_BUILD_DATE=`date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y-%m-%d`
+PHP_BUILD_DATE=`date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y-%m-%d`
AC_DEFINE_UNQUOTED(PHP_BUILD_DATE,"$PHP_BUILD_DATE",[PHP build date])
case $host_alias in