8cd1bc7701
define SOURCE_DATE_EPOCH for reproducible build
13 lines
622 B
Diff
13 lines
622 B
Diff
diff -up php-7.2.2RC1/configure.ac.fixheader php-7.2.2RC1/configure.ac
|
|
--- php-7.2.2RC1/configure.ac.fixheader 2018-01-16 09:14:15.231218443 +0100
|
|
+++ php-7.2.2RC1/configure.ac 2018-01-16 09:17:21.740382942 +0100
|
|
@@ -1272,7 +1272,7 @@ EXTRA_LDFLAGS_PROGRAM="$EXTRA_LDFLAGS_PR
|
|
PHP_BUILD_DATE=`date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y-%m-%d`
|
|
AC_DEFINE_UNQUOTED(PHP_BUILD_DATE,"$PHP_BUILD_DATE",[PHP build date])
|
|
|
|
-PHP_UNAME=`uname -a | xargs`
|
|
+PHP_UNAME=`uname | xargs`
|
|
AC_DEFINE_UNQUOTED(PHP_UNAME,"$PHP_UNAME",[uname -a output])
|
|
PHP_OS=`uname | xargs`
|
|
AC_DEFINE_UNQUOTED(PHP_OS,"$PHP_OS",[uname output])
|