From 9574920e6f1834c3c0934a84c19143af1461c1d8 Mon Sep 17 00:00:00 2001 From: Matthias Klose Date: Mon, 19 Oct 2020 10:51:18 +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 d3a70b9..af875c8 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -785,6 +785,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