From 7ff2e5dc3b169b1baf74fc5eb932593aad1f189a Mon Sep 17 00:00:00 2001 From: Matthias Klose Date: Thu, 30 Jul 2020 11:10:07 +0100 Subject: [PATCH] reproducible-buildinfo # DP: Build getbuildinfo.o with DATE/TIME values when defined # DP: Build getbuildinfo.o with DATE/TIME values when defined Gbp-Pq: Name reproducible-buildinfo.diff --- Makefile.pre.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.pre.in b/Makefile.pre.in index e8d7eeb..d0e9e23 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -777,6 +777,8 @@ Modules/getbuildinfo.o: $(PARSER_OBJS) \ -DGITVERSION="\"`LC_ALL=C $(GITVERSION)`\"" \ -DGITTAG="\"`LC_ALL=C $(GITTAG)`\"" \ -DGITBRANCH="\"`LC_ALL=C $(GITBRANCH)`\"" \ + $(if $(BUILD_DATE),-DDATE='"$(BUILD_DATE)"') \ + $(if $(BUILD_TIME),-DTIME='"$(BUILD_TIME)"') \ -o $@ $(srcdir)/Modules/getbuildinfo.c Modules/getpath.o: $(srcdir)/Modules/getpath.c Makefile -- 2.30.2