This is an automated email from Gerrit. "Sofiane HAMAM <sofiane.ha...@smile.fr>" just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/8622
-- gerrit commit ab459981d5dce7cd8953727533290061cca2fd2d Author: Sofiane HAMAM <sofiane.ha...@smile.fr> Date: Fri Mar 28 06:03:55 2025 +0100 configure: Use SOURCE_DATE_EPOCH environment variable This package defines PKGBLDDATE as build timestamp which makes it non reproducible. Use SOURCE_DATE_EPOCH if it is found, otherwise use build timestamp. Following best practices, see : https://reproducible-builds.org/docs/source-date-epoch/ Yocto, Fedora and others projects need this for reproducibility. Change-Id: I538b2dc99c72a4de98dd2adb5c52f60a55c0d5b2 Signed-off-by: Sofiane HAMAM <sofiane.ha...@smile.fr> diff --git a/src/Makefile.am b/src/Makefile.am index 4d1c1a2509..b6731393c4 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -34,7 +34,7 @@ if RELEASE else %C%_libopenocd_la_CPPFLAGS += -DRELSTR=\"`$(top_srcdir)/guess-rev.sh $(top_srcdir)`\" %C%_libopenocd_la_CPPFLAGS += -DGITVERSION=\"`cd $(top_srcdir) && git describe`\" -%C%_libopenocd_la_CPPFLAGS += -DPKGBLDDATE=\"`date +%F-%R`\" +%C%_libopenocd_la_CPPFLAGS += -DPKGBLDDATE=\"`date $${SOURCE_DATE_EPOCH:+-d @$${SOURCE_DATE_EPOCH}} +%F-%R`\" endif # add default CPPFLAGS --